Rep. Tom MacArthur Thomas (Tom) Charles MacArthurRepublican David Richter wins NJ primary in race to challenge Rep. Andy Kim What to watch in New Jersey's primaries on Tuesday Republicans plot comeback in New Jersey MORE (R-N.J.) lost his seat to Democratic challenger Andy Kim on Wednesday, resulting in a near-wipeout for the GOP in the state, The Associated Press reported.

With MacArthur's loss, Democrats successfully flipped four Republican seats in New Jersey in the midterm elections this year, some of which had been held by the GOP for decades.

ADVERTISEMENT

Come January, there will only be one Republican congressman from New Jersey — Rep. Chris Smith Christopher (Chris) Henry SmithChina sanctioning Rubio, Cruz in retaliatory move over Hong Kong China sanctions Cruz, Rubio, others over Xinjiang legislation New Jersey incumbents steamroll progressive challengers in primaries MORE, who easily won reelection in a Republican-friendly district.

MacArthur's race was considered a toss-up, though President Trump Donald John TrumpBiden on Trump's refusal to commit to peaceful transfer of power: 'What country are we in?' Romney: 'Unthinkable and unacceptable' to not commit to peaceful transition of power Two Louisville police officers shot amid Breonna Taylor grand jury protests MORE won the district by 6 points in 2016.

Kim, a former national security official, said he was inspired to run because of MacArthur’s role in helping House Republicans pass a bill that would have repealed and replaced ObamaCare.

Viral videos from a MacArthur town hall last year foreshadowed what was to come: angry voters berated him for authoring an amendment that helped Republicans secure the votes necessary to get the bill through the House.

MacArthur also faced criticism for being the only New Jersey Republican to vote for the GOP's tax bill, which capped state and local tax deductions at $10,000.

New Jersey, which has some of the highest property taxes in the country, is one of the states that benefited most from unlimited deductions on state and local taxes.