How was a state chosen to be a slave state?