The Liberal Government of New Zealand was the first responsible government in New Zealand politics organised along party lines. The government formed following the founding of the Liberal Party and took office on the 24 January 1891, and governed New Zealand for over 21 years until 10 July 1912. To date, it is the longest serving government in New Zealand's history. The government was also historically notable for enacting significant social and economic changes, such as the Old Age Pensions Act and women's suffrage. One historian described the policies of the government as "a revolution in the relationship between the government and the people".
New Zealand's foreign policy at this time expressed a sense of nationhood but also of Britishness: New Zealanders were proud of their young nation and of being part of the British Empire. The annexation of the Cook Islands can be seen as part of a desire to create a miniature empire in the Pacific, which would be part of the wider British Empire. New Zealand's enthusiastic involvement in the Boer War expressed both loyalty to 'mother Britain' and a sense of being a nation which could play its part on the world stage. The war was the first overseas conflict to which New Zealand committed troops. Although the New Zealand blue ensign became the country's national flag, the Union Jack, the flag of Great Britain, continued to be widely used (the medals awarded at the conclusion of the war featured the flag of the United Tribes of New Zealand).
The formation of the Liberal Party came after the victory of liberal-leaning members of parliament, led by John Ballance, at the 1890 general election
The government lost its majority at the 1911 general election, but managed to stay in office with the support of independent MPs until the following year. The government was eventually defeated in a vote of confidence on 10 July 1912, with the defection of some Liberals like John A. Millar.