Passage: Gay rights have increased substantially in the past years. On 31 May 2010, Portugal became the sixth country in Europe and the eighth country in the world to legally recognize same-sex marriage on the national level. The law came into force on 5 June 2010. Same-sex adoption is allowed since 1 March 2016 as is female same-sex couple access to medically assisted reproduction since 13 May 2016. This bill was adopted by the Parliament and signed by President Marcelo Rebelo de Sousa. As of January 2017 the New Law of Gender Identity, simplified the process of gender and name change for transgender people, making it easier for minors to change their gender identity.

Question: When did Portugal legalize same-sex marriage?
5 June 2010