How much do you know about gay rights in America? Take the quiz!

Participants carry a large rainbow flag towards the US Capitol during a gay rights demonstration in 2009.

Throughout much of the 20th century, an admission of homosexuality could result in a felony conviction and a lengthy prison sentence. Even as late as 1970, Connecticut denied a drivers license to a gay man on the basis of his sexual orientation.

Today, gay men, lesbians, bisexuals, and transgender people get considerably more legal protection. The US Supreme Court has struck down the Defense of Marriage Act, which denied federal benefits to legally married same-sex couples.

Twenty-one states plus Washington, D.C. outlaw discrimination based on sexual orientation, and 12 states plus Washington, D.C., recognize same-sex marriage. But 36 other states prohibit same-sex marriage, and LGBT people in every state still face bullying that can range from taunting to physical violence.

How much do you know about the history of gay rights in America? Take our quiz to find out!