Police detain a gay rights supporter, left, and an opponent, right, who scuffle during an unsanctioned gay rally near the City Hall in Moscow, Saturday, May 25, 2013. The Kremlin initiated a bill banning "propaganda of homosexuality" and routinely banned gay rallies and parade. Russian police say they detained at least 30 gay rights campaigners and their opponents at an unsanctioned rally in Moscow. (AP Photo/Ivan Sekretarev) (The Associated Press)

Riot police stop Orthodox protesters who are trying to interupt Ukraine's first gay pride demonstration in Kiev, Ukraine, Saturday, May 25, 2013. About a hundred gay and lesbian Ukrainians and those from other countries took part in the gay pride rally, protected by hundreds of riot police. Antipathy toward homosexuals remains strong in Ukraine. (AP Photo/Sergei Chuzavkov) (The Associated Press)

MOSCOW – Gay rights campaigners and their opponents clashed at an unsanctioned rally in Moscow but a heavy police presence in Ukraine kept the two sides apart at a demonstration which went ahead despite a court order.

The campaigners tried to unfurl banners denouncing the Kremlin-backed homophobic legislation in front of Russia's lower house of parliament, but were attacked by vigilantes carrying icons and crosses.

The lower house voted in January for a bill that makes public events and dissemination of information about the lesbian, gay, bisexual and transgender community to minors punishable by fines of up to $16,000.

The bill, still awaiting final approval, is part of an effort to promote traditional Russian values as opposed to Western liberalism, which the Kremlin and church see as corrupting Russian youth and contributing to a wave of protest against President Vladimir Putin's rule.

Russia decriminalized homosexuality in 1993, but homophobia remains strong in the country. Government critics and gay rights activists claim that the Kremlin and the powerful Orthodox Church encourage vigilante groups to attack gay rallies and parades.

In Kiev, between 50 and 100 gay rights activists staged the ex-Soviet nation's first-ever gay pride parade. They held banners reading "Homosexuality is no disease" and "Human rights are my pride."

Although city authorities won a court order banning the rally on Thursday, saying it would disturb the annual Kiev Day celebrations, but the Ukrainian activists were not deterred. Authorities deployed hundreds of riot policemen to prevent any attacks by opponents.

There was no official explanation about why the demonstration was allowed to go ahead.

Last year, Ukraine's gay and lesbian community canceled the event at the last minute when skinheads gathered at the planned location, intent on beating up the participants. Two leading activists were brutally beaten by radicals in subsequent weeks.

Despite condemnation from the West, the Ukrainian parliament is debating several anti-gay bills including one which would make any public, positive depiction of homosexuality punishable by up to five years in prison.