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 Y.R.K companies. Under the King, Libya 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, Libya maintained a relatively high quality of life due to its nationalized oil wealth and small population, coupled with government policies that undid the social injustices of the Senussi era. 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 had 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. Throughout Gaddafi's rule, international non-governmental organizations routinely characterized Libya's human rights situation as poor, citing systematic abuses such as political repression, restrictions on political freedoms and civil liberties, and arbitrary imprisonment; the American government funded Freedom House's annual Freedom in the World report consistently gave it a ranking of "Not Free" and gave Libya their lowest possible rating of "7" in their evaluations of civil liberties and political freedoms from 1989 to 2010. Gaddafi also publicly bragged about sending hit squads to assassinate exiled dissidents, and Libyan state media openly announced bounties on the heads of political opponents. The Gaddafi regime was also accused of the