By 2008, demographic shifts, population growth, and increased liberalization in densely populated areas such as the Research Triangle, Charlotte, Greensboro, Winston-Salem, Fayetteville, and Asheville, propelled Barack Obama to victory in North Carolina, the first Democrat to win the state since 1976. In 2012, North Carolina was again considered a competitive swing state, with the Democrats even holding their 2012 Democratic National Convention in Charlotte. However, Republican Mitt Romney ultimately eked out a two-point win in North Carolina, the only 2012 swing state Obama lost, and one of only two states (along with Indiana) to flip from Obama in 2008 to the GOP in 2012. Furthermore, Republican Donald Trump carried the state in 2016 and 2020.