The Marriage Amendment Bill, which allows same-sex and transgender couples to marry, was passed last night in Parliament, 77 votes to 44.
Here's how the MPs voted:
THOSE IN FAVOUR: 77
National:
Amy Adams, Selwyn
Chris Auchinvole, List
Maggie Barry, North Shore
Paula Bennett, Waitakere
David Bennett, Hamilton East
Jackie Blue, List
Cam Calder, List
David Carter, List
Judith Collins, Papakura
Jacqui Dean, Waitaki
Craig Foss, Tukituki
Aaron Gilmore, List
Paul Goldsmith, List
Jo Goodhew, Rangitata
Tim Groser, List
Tau Henare, List
Paul Hutchison, Hunua
Nikki Kaye, Auckland Central
Steven Joyce, List
John Key, Helensville
Hekia Parata, List
Jami-Lee Ross, Botany
Scott Simpson, Coromandel
Chris Tremain, Napier
Nicky Wagner, Christchurch Central
Kate Wilkinson, Waimakariri
Maurice Williamson, Pakuranga
Labour:
Jacinda Ardern, List
Carol Beaumont, List
David Clark, Dunedin North
Clayton Cosgrove, List
David Cunliffe, New Lynn
Clare Curran, Dunedin South
Lianne Dalziel, Christchurch East
Ruth Dyson, Port Hills
Kris Faafoi., Mana
Darien Fenton, List
Phil Goff, Mt Roskill
Chris Hipkins, Rimutaka
Parekura Horomia, Ikaroa-Rawhiti
Raymond Huo, List
Shane Jones, List
Annette King, Rongotai
Iain Lees-Galloway, Palmerston North
Andrew Little, List
Moana Mackey, List
Nanaia Mahuta, Hauraki-Waikato
Trevor Mallard, Hutt South
Sue Moroney, List
David Parker, List
Rajen Prasad, List
Grant Robertson, Wellington Central
David Shearer, Mt Albert
Maryan Street, List
Phil Twyford, Te Atatu
Louisa Wall, Manurewa
Megan Woods, Wigram