This article focuses on the end of the 19th century as the era when a medical model of homosexuality replaced a religious/moral model, creating the conditions for the idea of belonging to a sexual minority. Starting with the first publication of a medical paper on “sexual inversion” in Germany in 1870, the next few decades saw increasing interest from medical professionals in the topic.