Rubuta ci gaba don wannan sakin layi - Gaddafi ya canza Libya zuwa sabuwar jihar gurguzu da ake kira "Jamahiriya" ("jihar talakawa") a 1977. A hukumance ya ɗauki matsayin alama a cikin mulki amma ya kasance shugaban sojoji da Kwamitocin Juyin Juya Halin da ke da alhakin sanya ido da murkushe masu adawa. A cikin shekarun 1970 da 1980, rikice-rikicen kan iyakar Libya da ba su yi nasara ba tare da Masar da Chadi, da goyon baya ga 'yan ta'adda na kasashen waje, da kuma zargin da ake yi wa bam din Lockerbie a Scotland ya bar shi ya zama mai ware a duniya. Dangantaka ta musamman ta haɓaka tare da Amurka, Ingila da Isra'ila, wanda ya haifar da fashewar bam na Amurka a Libya a 1986 da Majalisar Dinkin Duniya <unk> sanya takunkumin tattalin arziki. Daga 1999, Gaddafi ya guji pan-Arabism kuma ya karfafa kusanci da kasashen Yammaci da pan-Africanism; ya kasance Shugaban Tarayyar Afirka daga 2009 zuwa 2010. A tsakiyar Spring Spring na 2011, zanga-zangar adawa da cin hanci da rashawa da rashin aikin yi ya barke a Gabashin Libya. Lamarin ya shiga cikin yakin basasa, wanda NATO ta shiga tsakani ta hanyar soja
a bangaren majalisar rikon kwarya ta kasa (NTC) mai adawa da Gaddafi. An hambarar da gwamnati kuma Gaddafi ya koma Sirte, kawai don a kama shi kuma an kashe shi da mayakan NTC.