Agaja led the most important expansions of the kingdom in the 1720s with the conquest of the Kingdom of Allada in 1724 and the Kingdom of Whydah in 1727. Allada and Whydah, both Aja kingdoms, had become important coastal trading centers in the early 1700s, with trade connections to multiple European countries. The two powers made a 1705 agreement where both agreed not to interfere in the trade of the other kingdom. The King of Whydah, Huffon, grew increasingly connected through trade with the British Royal African Company while the king of Allada, Soso, made his ports outposts for the Dutch West India Company. In 1712, a British ship attacked a Dutch ship in the harbor at Allada, triggering economic warfare between Allada and Whydah that lasted until 1720. Upon coming to the throne, Agaja and Soso made an agreement to attack Whydah and remove Huffon from power; however, this plan was halted for unknown reasons.