Following the Ajuran state disintegration. A mysterious new group in the vincity of Merca, known as the El Amir believe to be from the Abgaal origin made its appearance in the late 17th century. According to an account collected by Guillain in 1847, a leader known as Amir formed a following which invaded the territory of Merca and expelled the Ajuran clan. The El Amir then ruled for thirty-four years until the Biimaal expelled them and definitively occupied Merca. They quickly gained control of the city and trade of the region.