The German parliament on Friday legalised same-sex marriage, days after Chancellor Angela Merkel said she would allow her conservative lawmakers to follow their conscience in the vote.
The German legal code was changed to say "marriage is entered into for life by two people of different or the same sex", in the bill that was strongly supported by leftist parties.
The reform grants full marital rights, including child adoption, to gay and lesbian couples, who in Germany have been allowed since 2001 to enter so-called civil unions.
The lower house passed the bill by a margin of 393-226.
The legalization of gay marriage and civil unions in Europe / AFP Picture
The legalization of gay marriage and civil unions in Europe / AFP Picture
The upper house has already approved it, and the measure is expected to dome into force before the end of the year.
Merkel said on Friday she voted against legalising
gay marriage given her personal view that marriage should be between a man
and a woman, but she hoped parliament's approval of the measure would lead to more social
cohesion.
The election-year bill was pushed by Merkel's leftist rivals who pounced on a U-turn she made Monday -- a manoeuvre that left many of her conservative lawmakers fuming.
Gay and lesbian groups had earlier cheered the push for marriage equality in Germany.
Renate Kuenast of the Greens party, which has pushed for decades for LGBT community rights, quipped cheerfully: "I would advise all registry offices in the country to boost staff numbers."
The final push for the vote kicked off with an on-stage interview Merkel gave Monday to women's magazine Brigitte, in which an audience member asked her: "When can I call my boyfriend my husband if I want to marry him?"
Mrs Merkel says she had a "life-changing experience" when she met a lesbian couple who cared for eight foster children / CFP Photo
Mrs Merkel says she had a "life-changing experience" when she met a lesbian couple who cared for eight foster children / CFP Photo
Merkel, who long opposed gay marriage with adoption rights citing "the well-being of the children", replied that her thinking had shifted since she met a lesbian couple who cared for eight foster children.
She said she favored a vote at an undefined future time when all lawmakers could follow their conscience rather than a party line.
Many read the surprising comments as a move to deny opposition parties of a strong campaign issue before September 24 elections.
Merkel's coalition allies the Social Democrats (SPD), as well as the Greens, far-left Linke and pro-business Free Democrats have all declared a gay marriage law as a red-line demand and precondition for an alliance.