The current country of Benin combines three areas which had distinctly different political systems and ethnicities prior to French colonial control. Before 1700, there were a few important city-states along the coast (primarily of the Aja ethnic group, but also including Yoruba and Gbe peoples) and a mass of tribal regions inland (composed of Bariba, Mahi, Gedevi, and Kabye peoples). The Oyo Empire, located primarily to the east of modern Benin, was the most significant large-scale military force in the region. It regularly conducted raids and exacted tribute from the coastal kingdoms and the tribal regions. The situation changed in the 1600s and early 1700s as the Kingdom of Dahomey, consisting mostly of Fon people, was founded on the Abomey plateau and began taking over areas along the coast. By 1727, king Agaja of the Kingdom of Dahomey had conquered the coastal cities of Allada and Whydah, but it had become a tributary of the Oyo empire and did not directly attack the Oyo allied city-state of Porto-Novo. The rise of the kingdom of Dahomey, the rivalry between the kingdom and the city of Porto-Novo, and the continued tribal politics of the northern region, persisted into the colonial and post-colonial periods.