Before 1933, homosexual acts were illegal in Germany under Paragraph 175 of the German Criminal Code. The law was not consistently enforced, however, and a thriving gay culture existed in German cities. After the Nazi takeover in 1933, the first homosexual movement's infrastructure of clubs, organizations, and publications was shut down. After the Röhm purge in 1934, persecuting homosexuals became a priority of the Nazi police state. A 1935 revision of Paragraph 175 made it easier to bring criminal charges for homosexual acts, leading to a large increase in arrests and convictions. Persecution peaked in the years prior to World War II and was extended to areas annexed by Germany, including Austria, the Czech lands, and Alsace–Lorraine.
The Nazi regime considered the elimination of all manifestations of homosexuality in Germany one of its goals.