Anti-homosexual laws are legal measures that criminalize or restrict same-sex relationships, behaviors, or identities. These laws have been a significant aspect of social and political control, particularly during the Cold War era, as countries sought to define morality and identity against the backdrop of a rising superpower struggle between the United States and the Soviet Union.