NEW YORK (AP) — New Yorkers have chosen Democrat Joe Biden for president, the Associated Press projected. The former vice president takes the state’s 29 Electoral College votes.

Biden’s victory in New York over Republican President Donald Trump was widely expected and was called by the AP shortly after the polls closed at 9 p.m. 

The national race for president remains undecided in an election where in-person campaigning was limited and volunteers in many places couldn’t go door-to-door to get out the vote.

More than 3.7 million votes, a record, were cast in New York before the polls even opened on Election Day. That includes more than 2.5 million ballots from early voting and at least 1.2 million absentee ballots, according to the state Board of Elections.