Lawyer Vic Stabile has beaten Allegheny County judge Jack McVay Jr. to win a seat on the Pennsylvania Superior Court.
The battle for the mid-level appeals court was the only statewide race on Tuesday's ballot.
Stabile shook up the race last week by airing a TV ad criticizing McVay because his fiancee and sister-in-law are on the Allegheny County court payroll.
McVay called the ad unfair because he did nothing wrong, and a Pennsylvania Bar Association panel asked Stabile to take down the ad, but he has refused,
The 56-year-old Stabile is a corporate lawyer in Harrisburg and a former Cumberland County Republican Committee chairman.
The 57-year-old McVay has handled family court cases in his six years as a judge and previously worked as a local government lawyer.
Copyright 2013 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.