Same-sex marriage in New Zealand has been legal since 19 August 2013. A bill for legalisation was passed by the New Zealand House of Representatives on 17 April 2013 by 77 votes to 44 and received royal assent on 19 April. It entered into force on 19 August, to allow time for the Department of Internal Affairs to make the necessary changes for marriage licensing and related documentation. New Zealand became the first country in Oceania, the fourth in the Southern Hemisphere, and the fifteenth overall to allow same-sex couples to marry.