The aim of Jim Crow laws were racial and gender segregation between white and blacks. Segregation could be seen in public schools, public places, and public transportation, as well as in public restrooms and restaurants. The legal principle or motto was "separate, but equal", however the aim was to revive 1865 and 1866 Black Codes in order to restrict the civil rights and liberties of African Americans.