HARRISBURG - A Bucks County lawyer was declared the winner Wednesday in the Democratic primary for Commonwealth Court, with the result nearly the same as what was reported shortly after last month's balloting.

Doylestown lawyer Kathryn Boockvar defeated Barbara Behrend Ernsberger, a lawyer from Pittsburgh, by 2,052 votes out of more than 621,000 cast, the Department of State said. Preliminary results had Boockvar with a 2,116-vote edge.

The low-turnout race was close enough that the state had to pay for a recount of all 67 counties. Ernsberger could have waived the recount but chose not to. The last statewide recount, two years ago, cost the state $542,000.

Boockvar will face Republican Anne Covey, a lawyer from New Hope, in the Nov. 8 general election. - AP