The city of Dakar is a commune (also sometimes known as ''commune de ville''), one of the some 125 communes of Senegal. The commune of Dakar was created by the French colonial administration on June 17, 1887 by detaching it from the commune of Gorée. The commune of Gorée, created in 1872, was itself one of the oldest Western-style municipalities in Africa (along with the municipalities of Algeria and South Africa).