On 13 March 2010, the President asked the Constitutional Court to verify whether the bill was constitutional. On 8 April 2010, the Portuguese Constitutional Court ruled (11–2) for the constitutionality of the bill, with three members concluding that the Constitution required the recognition of same-sex marriages. The ruling was published in the official gazette on 28 April, giving President Aníbal Cavaco Silva twenty days to sign, or veto, the bill. On 17 May 2010, the President signed the bill into law. The law was published in the "Diário da República" on 31 May 2010 and became effective on 5 June 2010. On 7 June, Teresa Pires and Helena Paixão, the couple who had originally challenged the same-sex marriage ban in court in 2006, became the first same-sex couple to marry in Portugal, exchanging vows at the registry office in Lisbon. The first same-sex marriage in the Azores was performed on 29 August 2010 on Terceira.