Kamehameha then attacked Oahu, landing his men at Wai‘alae and Waikiki. His helper Ka‘iana was really helping his enemy Kalanikupule. He helped make special safe places for Kalanikupule's cannon on top of the Pali Mountains. This caused Kamehameha to lose many men until he sent many to climb the other side of the mountains and hit the cannon from behind. 400 Oahu men were forced over the side of the mountains' cliff. Ka‘iana was killed in the battle, and Kalanikupule was caught and given as a gift to the war god Kuka‘ilimoku.