While it was decriminalized during this era as part of a larger reform of the legal system, homosexuality was still widely seen as an "infamous sin". The President stated that the state had in the past "promoted and executed persecutions, raids, arbitrary arrests and beatings" towards LGBT people. He also spoke of the Stonewall riots , which led to the modern gay rights movement, and that Costa Rica had legalised homosexuality two years later, in , but that discrimination and violence continued for the following decades. Currently, Costa Rica does not recognize same-sex marriage or civil unions. In , national legislation was passed, which offers a limited form of domestic partnership benefits for opposite-sex and same-sex couples. Human rights lawyer Yashin Castrillo Fernandez had sued arguing that certain constitutional provisions relating to equal rights and international law required the legalization of same-sex marriage, but only two of the justices agreed.