The Republic of Benin was formed in 1960 when the colony of French Dahomey gained independence from France. Prior to this, the area that is now the Republic of Benin was divided largely between two coastal kingdoms, Dahomey and Porto-Novo, and a large area of various tribes in the north. The French assembled these various groups together into the colony of French Dahomey, which was part of the various colonies of French West Africa from 1904 until 1960. In the independence era, the republic was extremely unstable for the first decade and a half of existence, with multiple governments and multiple military coups. In 1972, Mathieu Kérékou led a military coup deposing the Presidential Council and appointing himself as the head of state, a position he held until 1991 when the country returned to multiparty elections. Since that point, the state has held multiple presidential and legislative elections and a number of different parties have become important.