The monarchy of Fiji arose in the 19th century, when native ruler Seru Epenisa Cakobau consolidated control of the Fijian Islands in 1871 and declared himself king, or paramount chief, of Fiji (Fijian: Tui Viti). Three years later, he voluntarily ceded sovereignty of the islands to Britain, making Fiji a crown colony within the British Empire. Fiji was ceded to Britain on 10 October 1874. The capital was formally established at Levuka on the island of Ovalau. Levuka was proclaimed Fiji's first town in 1877 but soon after it was decided to move the capital to Suva. In 1879, in order to meet its labour needs, indentured labourers from India were brought to Fiji. The first lot arrived at Levuka on 14 May 1878.
On 10 October 1970, and after nearly a century of British rule, Fiji became a Commonwealth realm—an independent state within the Commonwealth of Nations with Elizabeth II as Queen of Fiji and head of state—with the official title of Dominion of Fiji. Following two military coups in 1987, led by Lieutenant-Colonel Sitiveni Rabuka, Fiji became a republic.