What is wrong with Libya?

Their president became corrupt and stayed in the position too long, so the people started rebelling against him. He, with the military started taking people as hostages, people who have not done anything. Forcing so much people to vacate the dangerous place.