The Smith Act, officially known as the Alien Registration Act of 1940, was a piece of legislation that made it a criminal offense to advocate the violent overthrow of the U.S. government. This law was particularly significant during World War II, as it represented a wartime effort to suppress dissent and manage perceived threats to national security. The act allowed for the prosecution of individuals suspected of promoting communism or other ideologies considered dangerous, reflecting the climate of fear and suspicion prevalent at the time.