The Battle of Kepaniwai ("Battle of the Dammed Waters of ûêao" or Kaûuwaûupali, "Battle of the Clawed Cliffs") was fought in 1790 between the islands of Hawaiûi and Maui. The forces of Hawaiûi were led by Kamehameha I, while the forces of Maui were led by Kalanikà «pule. It is known as one of the most bitter battles fought in Hawaiian history.
While Maui's King Kahekili II was on Oûahu, Kamehameha's war fleet landed in Kahului a few kilometers from the base of ûêao Valley. An army consisting of around twelve hundred skilled warriors led by Kamehameha and Kekuhaupiûo, advanced on Kahekili's son Kalanikà «pule and other Maui chiefs blocking the ûêao valley. The two armies were evenly matched and neither side broke after two days of fighting. On the third day, Kamehameha's army was helped by the use of two cannons (named "Lopaka" and "Kalola") operated by John Young and Isaac Davis, two of Kamehameha's royal advisors. Although none of Maui's major chiefs were killed, many people died resulting in the "damming of the waters" by the corpses floating in the river. It was said that the river "ran red with the blood of the dead." Chiefess Kalola and her granddaughter Keà Âpà «olani were able to escape west through the valley to Olowalu and north to Lahaina.
After the battle, Kalola offered her 11-year-old granddaughter to Kamehameha as a future wife. Meanwhile, Keà Âua Kà «Ã»ahuûula, the last independent chief on the Island of Hawaiûi, who had been raiding Kamehameha's territory, quickly returned to the Big Island. This resulted in the 1790 battles of East Hawaiûi and the 1791 battle of Kawaihae.
Kahekili II resumed his rule of Maui and also acquired cannons. In 1791, Kahekili tried to invade the island of Hawaiûi, but was defeated in a naval battle called Kepuwahaûulaûula (Battle of the Red-Mouthed Gun). Kamehameha had to wait for the civil war that broke out in 1793 after the death of Kahekili II, and the battle of Nu'uanu to finally win control of Maui.