Auckland was the military and administrative capital of New Zealand during the early colonial period (1841-1865), and had a permanent garrison of British soldiers from 1840 to 1870. The earliest barracks were at Fort Britomart, overlooking the harbour to the east of the town, where there was accommodation for roughly 200 men. During the First New Zealand - or Northern - War (1845-1846), many of the troops were removed to the Bay of Islands, causing disquiet among Auckland settlers, who feared a Maori attack.
Immediately after the war the Governor, Sir George Grey (1812-1898), took action to reassure the local population by asking the British government to fund the construction of a large stone fortification housing at least 900 troops. He considered that it would protect the wealthiest, and most densely populated portion of the town, and afford a place of refuge for its inhabitants and their property. At this time, roughly 3,600 people lived in Auckland.
The site chosen for the barracks lay immediately behind the first Government House, Grey's own residence, on a prominent ridge to the southeast of the town. The ridge was known as Rangipuke, and may have been used for settlement by local Maori. The new fortification - known as Albert Barracks - was designed by military engineers brought out from Britain, and mostly erected by a Maori workforce under the supervision of George Graham, clerk of works for the Royal Engineers. The employment of Maori was an experimental measure, partly caused by a shortage of Pakeha labour, but also because of a belief that indigenous unrest was linked to contemporary notions of 'idleness'. The men received training in quarrying, well-digging and stonemasonry; their skills were praised by local officials and settlers.
The barracks was the largest early colonial military fortification built in New Zealand. Work on its defensive perimeter probably began in late 1846 and continued until at least 1850, although permanent gates were not fitted until 1852. The wall enclosed an area of at least 9 hectares, or 22 acres, and was roughly octagonal in plan, with flanking angles. It contained loopholes and a raised banquette for soldiers to stand on when firing, and also held three gates, the northernmost having an inscription - of unknown wording - in Maori. Buildings enclosed within the wall included a hospital, armoury, magazine for the storage of ammunition, offices and accommodation for officers and men.
The barracks housed a permanent garrison for nearly 25 years, during which time it retained a prominent martial role. It was also vital to the economy of the town, and the development of its civic life. Buildings inside the barracks were used for prominent events, such as a ball held on Queen Victoria's birthday in 1848, attended by the Maori leader and later king, Potatau Te Wherowhero (?-1860), and Governor George Grey. Similarly, the parade ground was used for some of the earliest cricket matches in the settlement, such as that between military personnel and civilians in 1856. The regular pay of the soldiers was an important stimulus to the economy and when the 58th Regiment departed in 1858 after a dozen years in the barracks, it was claimed that one-seventh of the provincial population of Auckland was drawn from its ranks.
During the third New Zealand - or Waikato - War of 1863-1864, the Albert Barracks parade ground was used extensively for the training of local militia. After the colonists' takeover of the Waikato, the British government withdrew its troops and the 18th Regiment finally left the barracks in early 1870. Demolition of much of the wall and internal buildings was carried out in 1873-1875, although it was originally intended that the northern gate, with its Maori inscription, should remain as a memorial. After vigorous public protest, part of the land was set aside for recreation as Albert Park, while the rest was subdivided and sold, largely to wealthy merchants. Only the northeastern stretch of barracks wall survived, probably because it formed the western boundary of Government House.
By the First World War, the wall had developed a symbolic meaning, and a plaque was erected during that conflict linking its construction to the collective effort of all New Zealanders in Europe: 'To Commemorate / The Union & Comradeship / of PAKEHA & MAORI / During the Great European War / This Tablet was Fixed by the / AUCKLAND CIVIC LEAGUE / Sept 1915. / On the Remnant of the / BARRACK WALL / Built by Friendly Maoris / in 1848 / After the Burning of Kororareka.'
Nevertheless, a further length was demolished in 1922 to allow construction of a new Arts Building for the University of Auckland, while at least two breaches in the surviving stretch were created in 1914-1918 and 1968 for pedestrian access. Disagreements about the sentiments expressed on the First World War plaque led to it being defaced during the land rights protests of the 1970s and 1980s, due to which it was removed. Another plaque, commemorating the barracks as a refuge was erected after 1973, as requested by the University of Auckland Senate and New Zealand Historic Places Trust/Pouhere Taonga. The university, who now owned all the surrounding land, undertook a restoration programme in 1984, rebuilding one breached element of the wall and unblocking a previously bricked up breach.