Indiana University of Pennsylvania professor Eric Nelson has won a special election to fill the unexpired term of former Republican state Rep. Tim Krieger, who gave up his 57th Legislative District seat when he won election to the Westmoreland County Common Pleas Court in November.

Mr. Nelson, 42, a Republican from Hempfield, defeated Democrat Linda Iezzi, 50, a small-business owner from South Greensburg. But the two will face off again in November for a full, two-year term. Mr. Krieger’s unexpired term runs out at the end of this year.

With all 51 precincts reporting, unofficial results showed Mr. Nelson with 5,564 votes compared with Ms. Iezzi’s 3,065. Turnout was about 16.6 percent.