Tunisia became independent in 1956 with the former Bey of Tunis as King. Prime Minister Habib Bourguiba became the first president in 1957 when it became a republic. Bourguiba focused on education and economic development. He was supportive of women's rights. However, he had a cult of personality around him and most of the power in the country was held by Bourguiba.