Section 377A was a Singaporean law introduced under British colonial rule that criminalised sex between consenting male adults. It was added to the Penal Code in 1938 by the colonial government under the governorship of Shenton Thomas. It remained a part of the Singapore body of law after the Penal Code review of October 2007 that removed most of the other provisions in Section 377, until its full repeal on 29 November 2022.