Wartime legislation refers to laws enacted by a government during periods of armed conflict that address various aspects of military and civilian life, often expanding governmental powers in the name of national security. These laws can include measures such as conscription, censorship, and economic controls aimed at supporting the war effort. During the Civil War, such legislation was crucial for managing resources and mobilizing society to support the Union's military goals.