Kamehameha I formed his official government at Lahaina, Maui in 1802, where he built the kingdom's first royal residence called the Brick Palace. The Lahaina palace remained the seat of government under the first three Kamehameha monarchs until 1845 when Kamehameha III moved the royal court. Lahaina had been the seat of government, where the royal courts of many chiefs of Maui had been located, including Kahekili II until 1794. In 1845 Kamehameha III moved the Royal Court and capitol to Honolulu. Hale Ali'i would become the seat of government and would remain so through the subsequent Kamehameha monarchs. After 1874, the main seat of government was transferred to the new central government building left by Kamehameha V. After the overthrow the provisional government would use the Iolani Palace as the seat of government. While a territory, the palace was called: The Capitol of the Territorial Government. It would also serve as the first state capitol building. The area was culturally significant as a seat of government for many reasons including the palaces size, orientation and other factors of religious importance and bridged the ancient history of Hawaiʻi with the new 19th century monarchy.