Lesbian, gay, bisexual, and transgender (LGBT) persons in the U.S. state of Rhode Island enjoy most of the same legal rights as non-LGBT people. Rhode Island established two types of major relationship recognition for same-sex couples, starting with civil unions on July 1, 2011, and then on August 1, 2013 with same-sex marriage. Discrimination on the basis of sexual orientation and gender identity is outlawed in the state in the areas of employment, housing and public accommodations. In addition, conversion therapy on minors has been banned since 2017. Rhode Island is frequently referred to as one of the United States' most LGBT-friendly states. Opinion polls have shown that a large majority of Rhode Islanders support same-sex marriage and LGBT rights. 2017 polling from the Public Religion Research Institute showed that 78% of Rhode Island respondents supported same-sex marriage. History of legality of same-sex sexual activity In 1647, the first General Assembly of “The Incorporation of Providence Plantations in Narragansett Bay in New England" met in Portsmouth to codify the first set of laws governing the incorporation. The 1647 code is considered unusual for the time in America, for finding justification with the new testament instead of the old testament. The statute "Touching Whormongers" provided the death penalty for a number of offenses including sodomy, bestiality, fornication, and rape. The law was reworded in 1663 and 1729, removing references to the New Testament, but the death penalty remained. No prosecutions are known to have occurred. In 1798, the state again reworded the law, lightening the penalty for a first offense, reading that any person convicted of sodomy shall "be carried to the gallows in a cart, and set upon the said gallows, for a space of time not exceeding four hours, and thence to the common gaol, there to be confined for a term not exceeding three years, and shall be grievously fined at the discretion of the Court". A second offense would result in death. The death penalty was removed as a penalty in 1844; punishment was set at 1 to 12 years' imprisonment. This was raised to 7 to 20 years' imprisonment in 1881. The Newport sex scandal arose from a 1919 investigation by the United States Navy into homosexual acts by Navy personnel and civilians in Newport, Rhode Island. The investigation was noted for its controversial methods of intelligence gathering, specifically its use of enlisted personnel to investigate