the school was located in the Pauoa Valley on Oahu. In 1863, the school was relocated and merged with the Luaʻehu School in Lahaina, Maui, established by the Anglican Reverend William R. Scott and later administered by Archdeacon Mason. In 1870, the school was relocated back to its original site on Oahu. These institutions were the precursors of the present ʻIolani School in Honolulu. He was taught by Ibbotson and later Alatau T. Atkinson who became principal of the school after the departure of Bishop Staley. At the school, he developed a friendship with Curtis P. Iaukea, a royal retainer of King Kamehameha IV. Their bond was later compared to the friendship of Damon and Pythias. Some of his other classmates included Samuel Nowlein and Robert Hoapili Baker, both of whom were politicians in later life. Upon completing his formal education at St. Alban's in 1872, Leleiohoku served as a clerk in the Foreign Office. In this capacity, he worked and was taught governmental affairs by William Jarrett, the Chief Clerk and Secretary of the Foreign Office. When King Kamehameha V died in 1872 with no heir, the 1864 Constitution of the Kingdom of Hawaii called for the legislature to elect the next monarch. By both popular vote and the unanimous vote in the legislature, Lunalilo became the first elected king of Hawaii. On January 25, 1873, the new king commissioned Leleiohoku as major of the military staff of the Governor of Oahu under his brother-in-law John Owen Dominis. His brother Kalākaua was appointed as a colonel on the king's personal military staff around the same time. Although the kingdom had an army, it was composed of the King's Royal Guards and volunteer companies. Heir to the throne Lunalilo died without an heir in 1874. In the election that followed, Leleiohoku's brother, David Kalākaua, ran against Emma, the dowager queen of Kamehameha IV. On February 12, 1874, the legislative assembly voted thirty-nine to six in favor of Kalākaua over Emma. The legislature's choice of Kalākaua and the subsequent announcement caused a riot at the courthouse. To quell the civil disruption, American and British troops were landed from three warships in the harbor with the permission of the Hawaiian government, and the rioters were arrested. Plans were discussed to marry Leleiohoku to Queen Emma, who was eighteen years his senior; she refused such a match. After the 1874 election, King Kalākaua