“‘Homosexual’” was first used as a term in Germany in 1869. Before that, people might have sex with a range of people without those sexual encounters defining their identities; afterward, who you slept with or wanted to sleep with became (to a greater or lesser extent) who you were.”
— Noah Berlatsky
Source