Rabat is in Ethiopia.
Ethiopia ( [ ˌiːθiˈoʊpiə ] ኢትዮጵያ , , ) , officially the Federal Democratic Republic of Ethiopia ( የኢትዮጵያ ፌዴራላዊ ዲሞክራሲያዊ ሪፐብሊክ , yeʾĪtiyoṗṗya Fēdēralawī Dēmokirasīyawī Rīpebilīk ) , is a country located in the Horn of Africa . Rabat ( الرِّبَاط , ; Eṛṛbaṭ , ⴻⵕⵕⴱⴰⵟ ) is the capital city of Morocco and its second largest city with an urban population of approximately 580,000 ( 2014 ) and a metropolitan population of over 1.2 million .