Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
The 1879 Wellington mayoral by-election was part of the New Zealand local elections held that same year to decide who would take the office of Mayor of Wellington.
Background
Mayor Joe Dransfield resigned in May 1879 owing to bankruptcy. A special meeting of the city council was called on the requisition of three councillors for the purpose of electing a councillor to fulfil the duties of mayor pending the election of a new mayor by the public. Council members elected councillor George Allen to do so. Councillor George Hunter stood against former mayor William Hutchison who was narrowly defeated by Dransfield in 1878.