Dahomey conquered Allada, the origin for the royal family according to oral tradition, and in 1727 he conquered Whydah. This increased size of the kingdom, particularly along the Atlantic coast, and increased power made Dahomey into a regional power. The result was near constant warfare with the main regional state, the Oyo Empire, from 1728 until 1740. The warfare with the Oyo empire resulted in Dahomey assuming a tributary status to the Oyo empire. Tegbesu, also spelled as Tegbessou, was King of Dahomey, in present-day Benin, from 1740 until 1774. Tegbesu was not the oldest son of King Agaja (1718–1740), but
French Dahomey the 15th century onwards. The decline of the obas began in the 18th century when a series of internal power struggles began which lasted into the 19th century. The French takeover and colonization of the Kingdom of Dahomey began in 1872. The First Franco-Dahomean War in 1890 further weakened it. The Second Franco-Dahomean War resulted in it becoming a French protectorate in 1894. In 1904, the Dahomey territory was incorporated into French West Africa as (French) Dahomey. Under the French a port was constructed at Cotonou, and railroads were built. School facilities were expanded by Roman Catholic missions. In 1946,