The treatment of homosexuality in Latvia has varied greatly throughout its history, as the country has gone through periods of conquest and independence. Typically, laws targeting the LGBT community and particularly gay men have been harsher under periods of Russian or Soviet control than during periods of independence. Shortly after the fall of the Soviet Union, homosexuality in Latvia was.