People attend the celebrations of the 30th anniversary of the declaration of the Turkish Republic of Northern Cyprus (TRNC) in the Turkish-occupied sector of Nicosia in the self-proclaimed state on November 15, 2013. The island of Cyprus has been divided since the 1974 Turkish invasion which was followed by the declaration of the breakaway state in the Turkish-occupied north in 1983. AFP PHOTO/BIROL BEBEK (Photo credit should read Birol Bebek/AFP/Getty Images)

By Dasha Afanasieva

ISTANBUL, Jan 27 (Reuters) - Turkish Cypriot-controlled northern Cyprus on Monday became the last territory in Europe to decriminalise sexual relations between consenting, adult men.

Its parliament voted to abolish the criminal code provisions that carried five year prison sentences. Same-sex relationships between women were not mentioned in the code.

"We decriminalised homosexuality but we also changed that whole section (of the code) to modernise laws protecting human rights," lawmaker Bogus Derya told Reuters, speaking from Nicosia, which the Turkish Cypriot population calls Lefkosa.

The president of northern Cyprus, Dervis Eroglu, now has 15 days to sign the bill into law.

"It's been long overdue and I'm pleased that following conversations with Dervis Eroglu, he has promised to sign the bill into law," said Marina Yannakoudakis, a British member of the European Parliament who has campaigned for the change.

Her office said the last time it was aware that someone was arrested under the law was in February 2012.

"I haven't stopped campaigning. There are still around 40 countries in the Commonwealth where homosexuality is illegal and some countries are moving backwards," she said.

In December the Supreme Court on India, the world's largest democracy, threw out a 2009 ruling by a lower court that had decriminalised gay sex.

The ban on homosexuality, defined as having "carnal knowledge against the order of nature", was a remnant from the days when Cyprus was under British colonial rule. The island became independent in 1960 and in the subsequent acrimonious split of the Greek and Turkish sides 14 years later both kept it on their statute books.

Greek Cypriots decriminalised homosexuality amid pressure from the European Union in the 1990s. The only country to recognise the self-declared Turkish Republic of Northern Cyprus is Turkey.

"We welcome today's vote and can finally call Europe a continent completely free from laws criminalising homosexuality," said Paulo Corte-Real from the International Lesbian, Gay, Bisexual, Trans and Intersex Association, a rights advocacy group.

Cyprus has been divided into the Greek and Turkish parts since 1974 when Turkey invaded the north in response to a Greek Cypriot coup.

(Editing by Alison Williams)