27 June 1977
Djibouti is a very small country located on the horn of Africa. It is so small that it has an estimated population of less than a million, one of the least populous in Africa. France, which had colonized the country, had named it French Somaliland.   On 27 June 1977, Djibouti gained independence from France. At the time, it was the last of France’s colonies in Africa. The country changed its name to Djibouti, after its biggest city, and it became known as the Republic of Djibouti. Hassan Gouled Aptidon became the country’s first president.
References

US department of State (2012) Background Note: Djibouti  [online] Available at: www.state.gov[Accessed on 20 June 2012]|African History Djibouti Timeline -- Part 1: Prehistory to Independence from About [online] Available at: https://africanhistory.about.com [Accessed on 20 June 2012]