Complex sentence: West Germany inherited the anti-gay law Paragraph 175 which remained on the books until 1969.
Split into simpler sentences: West Germany inherited the anti-gay law Paragraph 175. This remained on the books until 1969.