Kamehameha I took control of western and northern Hawaii island (the Kona and Kohala districts) in 1782, but for the eight years following, fought in a number of inconclusive battles. After returning from Maui in 1790, he was attacked by his cousin Keōua Kuahuula who still controlled the East side of the island. He returned to the village of Kawaihae, where he had spent some time earlier. A respected kahuna (priest) named Kapoukahi suggested building a luakini heiau (sacrificial temple) to gain the favor of the war god Kūkailimoku.
