Race legislation in the United States is defined as legislation seeking to direct relations between so-called "races" (a social construct) or ethnic groups. It has had several historical phases in the United States, developing from the European colonization of the Americas, the triangular slave trade, and the American Indian Wars. The 1776 Declaration of Independence included the statement that "all men are created equal," which has ultimately inspired actions and legislation against slavery and racial discrimination. Such actions have led to passage of the 13th, 14th, and 15th Amendments to the United States Constitution.
The first period extends until the Civil War and the Reconstruction era, the second spans the nadir of American race relations period through the early 20th century; the last period begins with World War II and the following increased civil rights movement, leading to the repeal of racial segregation laws. Race legislation has been intertwined with immigration laws, which sometimes included specific provisions against particular nationalities or ethnicities (i.e. Chinese Exclusion Act or 1923 United States v. Bhagat Singh Thind case).