Why do people use the word "gay" to describe homosexuality?

What is the origin of this?

I have noticed that people in favor of homosexuality or homosexual marriage always refer to it as "gay marriage", or as people being "gay". However gay is a rather slang term.
12 answers 12