By the time of the American Revolution (1775–1783), slaves had been institutionalized as a racial caste. The caste associated with African ancestry. When the United States Constitution was ratified in 1789, a small number of free people of color were able to vote. This was because they were men who owned property. During and shortly after the Revolutionary War, abolitionist laws were passed in most Northern states, and there was a movement created to end slavery. Slave states tried to extend slavery into new Western territories. They wanted to do this to keep their share of political power in the country. Southern leaders also wanted to annex Cuba as a slave territory. The United States became split over the issue of slavery. It was split into slave and free states. The Mason–Dixon line divided the country. The line divided (free) Pennsylvania from (slave) Maryland.