Agaja rebuilt Abomey and when he conquered Whydah the next year he provided many gifts to the King of Oyo. Despite these gifts, tributary terms acceptable to Oyo were not agreed to and so the Oyo Empire returned on March 22, 1728. As part of a strategy, Agaja buried his treasure, burned food resources, and made all the residents of Abomey abandon the city. The Oyo army found it difficult to remain in that situation and so they returned to Oyo in April. This strategy was repeated in 1729 and 1730, with Oyo sending increasingly larger armies and Agaja and his troops retreating into the marshes. The 1730 invasion was particularly devastating as the Oyo feigned acceptance of gifts from Agaja but then ambushed Dahomey's forces when they returned to Abomey. With the regular destruction of Abomey, Agaja moved the capital to Allada and ruled from there (his son Tegbessou would later move the capital back to Abomey while appointing a puppet king in Allada).