Michigan was won by Democrat Barack Obama with 54.04% of the vote to Romney's 44.58%, a victory margin of 9.46%.[2] It was the sixth presidential election in a row where Michigan voted in favor of the Democratic candidate, with Republicans last carrying the state in 1988. Obama's margin of victory was significantly decreased from 2008 when he carried the state by 16.44%, and he lost 26 counties that had voted for him four years prior. Many of those counties had gone Democratic for the first time in decades, such as Berrien County, which had not voted for a Democrat since Lyndon B. Johnson in 1964. The state's Republican trend would continue, as Donald Trump would end up narrowly winning the state over Hillary Clinton and flipping even more counties in 2016. Nevertheless, it would return to the Democratic column in the following cycle when it narrowly backed Joe Biden over Trump.