What was Muammar al-Qaddhafi?

Muammar Gaddafi was the leader of Libya for over 40 years. He was known to be a dictator, and was killed in 2011.