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
Dahomey story claims that only Hwanjile, of all of Agaja's wives, was willing to allow her son to go to Oyo. This act of sacrifice, according to the oral tradition made Tegbesu, was favored by Agaja. Agaja reportedly told Tegbesu that he was the future king, but his brother Zinga was still the official heir. The kingdom fought the First Franco-Dahomean War and Second Franco-Dahomean War with France. The kingdom was reduced and made a French protectorate in 1894. In 1904 the area became part of a French colony, French Dahomey. In 1958 French Dahomey became the self-governing colony called the