Agaja planned his attack on Whydah in February 1727. He conspired with his daughter, Na Gueze, who was married to Huffon, to pour water on the gunpowder stores in Whydah. He also sent a letter to all of the European traders in the port of Whydah encouraging them to remain neutral in the conflict, in return for which he would provide favorable trade relations at the conclusion of the war. On February 26, 1727, Agaja attacked Whydah and burned the palace, causing the royal family to flee from the city. During the five-day battle, reports say that five thousand people in Whydah were killed and ten to eleven thousand were captured. In April, he burned all of the European factories in the Whydah capital.