Canada's parliament has approved a bill to legalise same-sex marriage, despite opposition from conservative MPs.
There are some 34,000 same sex couples in Canada
The bill was supported by 158 lawmakers in the 308-seat House of Commons, with 133 MPs voting against.
It is expected to win Senate approval and become law by July, making Canada the third country after the Netherlands and Belgium to allow gay marriages.
Gay marriage is already legal in eight of 10 provinces and one of Canada's three territories.
The legislation that will allow gay marriage nationwide was drafted by Prime Minister Paul Martin's Liberal minority government.
The issue split the Liberal party, with the Cabinet minister for economic development in Ontario, Joe Comuzzi, resigning over the bill on Tuesday.
But supported by most members of the Liberals, the Bloc Quebecois and other allies, the legislation passed easily.
"We are a nation of minorities and in a nation of minorities, it is important that you don't cherry pick rights. A right is a right and that is what this vote tonight is all about," Mr Martin said before the vote.
The national co-ordinator of Canadians for Equal Marriage, Alex Munter, had said the bill's approval would be "a victory for Canadian values".
"I think this is going to be a proud and exciting day to be a Canadian because we are... affirming to the world that we are a country that is open, inclusive and welcoming," he said.
Canada's opposition Conservative Party and religious groups have been lobbying against the bill.
The Conservative leader, Stephen Harper, said earlier he would be defending the traditional definition of marriage as between a man and a woman.
The legislation puts Canada on a quite different course to its powerful neighbour to the south.
In the US, President George W Bush is seeking a constitutional amendment that would define marriage as being between a man and a woman.
Hundreds of foreigners, including Americans and Israelis, have gone to Canada for civil unions since gay marriage was first allowed in some provinces in 2003.