African Americans were not slaves anymore, but white southerners passed laws called Black Codes that took away their freedom. Some African Americans served in government, but after 1877, the white southerners mostly kept them out of government. Whites founded the Ku Klux Klan to scare African Americans and stop them from voting. Most southern African Americans became sharecroppers. Sharecropping was a system in which the farmers rented the land from the landowner and had to pay the landowner part of their crops. Jim Crow laws segregated white and black people. Black people had to go to different schools and usually live in different neighborhoods than white people. Many businesses were for whites only. The Supreme Court case Plessy v. Ferguson said that black and white facilities could be separate but equal, but facilities for black people were usually worse. Lynching was often practiced against African Americans.