For starters, he was a democrat and during that time Republicans won everything all the time. He was also a bourbon democrat which meant that he was rather conservative and wanted big businesses and farms to thrive with lower tariffs. This enabled him to have many republicans switch sides and vote for him.