Democrat Joe Biden has carried Minnesota, turning back a strong push by President Donald Trump and holding on to a state narrowly won by Democrat Hillary Clinton four years ago.
Mr Biden was awarded the state’s 10 Electoral College votes.
Mr Biden made up for his campaign getting a late start in Minnesota compared with Mr Trump, who held several campaign rallies in the state this election cycle.
The former vice president took advantage of anti-Trump sentiment and organising efforts by the state’s Democrats, who stressed Covid-19 and health care issues.
Mr Trump came within 1.5 percentage points of carrying Minnesota in 2016 and made winning the state this time a personal priority.
Republicans invested time and money in building a field organisation to boost GOP turnout, focusing on conservative rural Minnesota and suburban areas that were once mostly Republican but have become swing territory.
The last Republican presidential candidate to capture the state was Richard Nixon in 1972.
Minnesota is among nine swing states where the 2020 election could be won or lost.
Ballots that arrived after the close of polls in Minnesota will be segregated from the rest of the vote because of ongoing litigation, under a federal appeals court order.
Republican lawsuits have challenged local decisions that could take on national significance in this close US election.
Minnesota has no-excuse absentee voting, and ballots must be pre-processed within five days of receipt. Beginning on October 20, ballots could be opened and logged, but the results only tabulated after polls closed.
A federal appeals court ruled last week that the state’s plan to count absentee ballots received after Election Day was illegal.
Ahead of Election Day, some Democrats and election watchers became concerned that Trump allies would attempt to intimidate voters headed to the polls.
In Minnesota last week, the head of the Minneapolis police union forwarded an email to members seeking 20 to 30 retired officers to help serve as “poll challengers” at precincts in “problem” areas of the city.
The message was signed by William Willingham, whose email signature identified him as a senior legal adviser and state director of Election Day operations for the Trump campaign.
“Poll Challengers do not ‘stop’ people, per se, but act as our eyes and ears in the field and call our hotline to document fraud,” said the email, a copy of which was obtained by the Minneapolis Star Tribune.
“We don’t necessarily want our Poll Challengers to look intimidating, they cannot carry a weapon in the polls due to state law.
“We just want people who won’t be afraid in rough neighbourhoods or intimidating situations.”
The Trump campaign later tried to distance itself from the request for retired officers, but the email reinforced fears among voting-rights advocates that the Trump campaign could revive old voter-suppression tactics.
Tensions over structural racism increased during summer after the police killings of several black Americans, which set off peaceful protests and in some cases riots, looting and violence.
Mr Trump positioned himself as a defender of police and cast the protesters as radicals – part of an appeal to suburban and older voters who he thought would embrace a law and order message.
Nationally, about three-quarters of voters called racism a serious challenge for society as a whole and for policing in particular. About a quarter said they wanted to see the police be tougher on crime; about a third thought police are too tough.
Notably, majorities of voters in two battleground states – Wisconsin and Minnesota – disapproved of protests over policing.
Both states saw violence and destruction during demonstrations after police shootings of black men.
In an attempt to restore law and order during protests in May, Minnesota governor Tim Walz announced the full mobilisation of the state’s National Guard – a first in the state’s history.
The National Guard responded on Twitter: “We are ‘all-in’ to restore order and maintain and keep the peace in Minnesota.”