Sweden became the fifth European country to allow gay marriage.

Parliament on Wednesday adopted a new law that gives same-sex couples the same marriage rights as heterosexuals.

The Parliament's Web site says the new law will take effect on May 1.

The Netherlands, Norway, Belgium and Spain also allow gay marriages.

Sweden has recognized civil unions between homosexual couples since 1994. However, the old law stopped short of calling them marriages, which gay rights activists said was discriminatory.

It will still be up to individual churches to decide if they want to wed gay couples.

Swedish news agency TT says the 349-seat legislature passed the measure in 261-22 vote, with 66 lawmakers abstaining or absent.