HARRISBURG, Pa. (AP) – The Republican candidate lagging behind in a statewide recount for an open seat in the Pennsylvania Commonwealth Court conceded the race Tuesday to Democrat Lori Dumas.

On Twitter, Drew Crompton congratulated Dumas and the other court race winners who were on the statewide ballot in the Nov. 2 election in Pennsylvania.

READ MORE: Route 51 reopens after pedestrian was struck and killed in car

Republicans won three of four statewide court races in the Nov. 2 poll.

A statewide recount in the Commonwealth Court race was mandated after Dumas finished half a point ahead of Crompton, according to unofficial statements released online by the Department of State of the State.

As the counties completed their recount on Tuesday, Dumas edged out Crompton by around 21,000 votes, just under half a percentage point.

READ MORE: Steelers have 13% chance of qualifying for playoffs, new data shows

Dumas is a judge in the Court of Common Pleas in Philadelphia. Crompton is a former State Senate GOP attorney who was sworn in last year to temporarily fill a court opening.

The court deals with cases involving state government and local governments.

Almost 2.8 million ballots were cast in the election, or about 31% of the 8.7 million registered voters in Pennsylvania.

In the marquee ballot race on Nov. 2, Republican Kevin Brobson defeated Democrat Maria McLaughlin by about 25,000 votes, or less than 1%, according to unofficial statements.

NO MORE NEWS: Crews respond to main water main rupture in Bridgeville

(Copyright 2020 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed without permission.)