What was passed in 1840