Somalia, officially the Republic of Somalia (Somali: Jamhuuriyadda Soomaaliya, Jumhūriyyat aṣ-Ṣūmāl) and formerly known as the Somali Democratic Republic under communist rule, is a country located in the Horn of Africa. It is bordered by Djibouti to the northwest, Kenya to the southwest, the Gulf of Aden with Yemen to the north, the Indian Ocean to the east, and Ethiopia to the west. With the longest coastline on the continent, its terrain consists mainly of plateaus, plains and highlands.