Muammar Gaddafi made Libya a socialist state.
Muammar Gaddafi . Having taken power , Gaddafi converted Libya into a republic governed by his Revolutionary Command Council . In 1977 , Gaddafi transformed Libya into a new socialist state called the Jamahiriya ( `` state of the masses '' ) .