jurisdiction. Because legal enforcement depended on so many different local codes, which underwent less scrutiny than statewide legislation, historians still lack a complete understanding of their full scope. It is clear, however, that even under military rule, local jurisdictions were able to continue a racist pattern of law enforcement, as long as it took place under a legal regime that was superficially race-neutral. In 1893–1909 every Southern state except Tennessee passed new vagrancy laws. These laws were more severe than those passed in 1865, and used vague terms that granted wide powers to police officers enforcing the law. An example were the so-called "Pig Laws", with harsh penalties for crimes such as stealing a farm animal. Pig Laws were solely applied to African Americans related to agricultural crimes. In wartime, Blacks might be disproportionately subjected to "work or fight" laws, which increased vagrancy penalties for those not in the military. The Supreme Court upheld racially discriminatory state laws and invalidated federal efforts to counteract them; in Plessy v. Ferguson (1896) it upheld the constitutionality of racial segregation and introduced the "separate but equal" doctrine. A general system of legitimized anti-Black violence, as exemplified by the Ku Klux Klan, played a major part in enforcing the practical law of white supremacy. The constant threat of violence against Black people (and White people who sympathized with them) maintained a system of extralegal terror. Although this system is now well known for prohibiting Black suffrage after the Fifteenth Amendment, it also served to enforce coercive labor relations. Fear of random violence provided new support for a paternalistic relationship between plantation owners and their Black workers. Mississippi Mississippi was the first state to pass Black Codes. Its laws served as a model for those passed by other states, beginning with South Carolina, Alabama, and Louisiana in 1865, and continuing with Florida, Virginia, Georgia, North Carolina, Texas, Tennessee, and Arkansas at the beginning of 1866. Intense Northern reaction against the Mississippi and South Carolina laws led some of the states that subsequently passed laws to excise overt racial discrimination; but, their laws on vagrancy, apprenticeship, and other topics were crafted to effect a similarly racist regime. Even states that carefully eliminated most of the overt discrimination in their Black Codes retained laws authorizing harsher sentences for Black people. Mississippi was the first state to legislate a new Black Code after the war, beginning with "An