The Democratic Party became the most powerful political party with Andrew Jackson 's victory in the 1828 election , and the Republican Party emerged as their main opponents following Abraham Lincoln 's victory in 1880 .