Although same-sex sexual activity was illegal in Canada up to 1969, gay and lesbian themes appear in Canadian literature throughout the 20th century. Canada is now regarded as one of the most advanced countries in legal recognition of lesbian, gay, bisexual, and transgender (LGBT) rights.