The Illinois Religious Freedom Protection and Civil Union Act went into effect on June 1, 2011, making civil unions legal in the State of Illinois. This law allowed same-sex and heterosexual couples to enter into civil unions and granted them the same legal obligations, responsibilities, protections and benefits provided to spouses in a marriage, whether they came from statute, administrative rule, policy, common law, or any other source of civil or criminal law. Illinois recognized civil unions, which afforded same-sex and opposite-sex couples a legal status similar to marriage. As of June 26, 2015, the U.S. Supreme Court ruled that the U.S. Constitution guarantees the right for same-sex couples to marry in all 50 states.