despite slavery expanding westward with pioneers, which event abolished slavery in the entire United States

The abolition of slavery in the United States was achieved through the passage of the 13th Amendment to the Constitution in December 1865, following the end of the Civil War. This amendment officially abolished slavery and involuntary servitude in the United States, marking the end of the institution of slavery in the entire country.