Lesbian, gay, bisexual, and transgender (LGBT) rights in Myanmar are subject to official persecution and discrimination, with LGBT people facing legal and social challenges not experienced by others. Same-sex sexual activity is illegal and section 377 of Myanmar's Penal Code 1861 subjects same-sex sexual acts (regardless of whether they were consensual or done in private) to a term of imprisonment from ten years to life. Heterosexual anal intercourse and oral sex are also illegal. Transgender people are subject to police harassment and sexual assault, and their gender identity is not recognised by the state.