sentences:  Portugal has wide-ranging anti-discrimination laws and is one of the few countries in the world to contain a ban on discrimination based on sexual orientation in its constitution.On 5 June 2010, the state became the eighth in the world to recognize same-sex marriage.On 1 March 2011, the President ratified a gender identity law, said to be one of the most advanced in the world, which simplifies the process of sex and name change for transgender people.