Partitions of Poland
During the Partitions of Poland (1795–1918) and the German occupation of Poland (1939–1945), laws prohibiting homosexuality were imposed by the occupying powers.