WASHINGTON — Democrats remained favored to retain control of the House as votes were being counted Tuesday night, but it may be hours or days before the outcome is certain.

Mail-in ballots and absentee voting were at an all-time high amid the coronavirus pandemic and intense voter interest in the presidential election. The Associated Press will not declare either party with a House majority until 218 seats — the number needed for a majority in the 435-seat chamber — are won.

Democrats held 232 seats going into Election Day, while Republicans held 197 seats. One seat is held by an independent, and there are five vacancies.

Democrats have targeted several GOP incumbents in swing states, but as of early Wednesday on the East Coast, it was two freshmen Democrats — both in the Miami area — that lost their seats. No Republican incumbent had been defeated with more than 150 races still undecided.

Thirty-five House Republicans are not running for re-election or have already resigned and left Congress, while there are just 13 open Democratic seats through retirements, resignations and one death.

The AP will provide updated results throughout the night and through the week as more race winners are determined.