Human rights in Libya is the record of human rights upheld and violated in various stages of Libya's history. The Kingdom of Libya, from 1951 to 1969, was heavily influenced and educated by the British and American oil companies. The King was very westernized and Libya also had a constitution. The kingdom, however, was marked by a feudal regime, where Libya had a low literacy rate of 10%, a low life expectancy of 57 years, and 40% of the population lived in shanties, tents, or caves. Illiteracy and homelessness were chronic problems during this era, when iron shacks dotted many urban centres on the country.
From 1969 to 2011, the history of Libya was marked by the Libyan Arab Jamahiriya (where jamahiriya means "state of the masses"), a "direct democracy" political system established by Muammar Gaddafi, who nominally stepped down from power in 1977, but remained an unofficial "Brother Leader" until 2011. Under the Jamahiriya, the country's literacy rate rose to 90%, and welfare systems were introduced that allowed access to free education, free healthcare, and financial assistance for housing. In 2008, the General People's Congress has declared the Great Green Charter of Human Rights of the Jamahiriyan Era. The Great Manmade River was also built to allow free access to fresh water across large parts of the country. In addition, illiteracy and homelessness had been "almost wiped out," and financial support was provided for university scholarships and employment programs, while the nation as a whole remained debt-free. As a result, Libya's Human Development Index in 2010 was the highest in Africa and greater than that of Saudi Arabia.