Was St.Louis a free state or slave state in 1800s?

St. Louis was part of the state of Missouri, which was a slave state in the 1800s. Missouri was admitted to the Union as a slave state in 1820 as part of the Missouri Compromise.