With all precincts reporting, challenger Gale Adcock narrowly led incumbent Tom Murry in the N.C. District 41 race.
Adcock, a Democrat who currently serves on the Cary Town Council, had 51.33 percent of the vote.
Murry, a Republican who has served two terms in the House, had 48.67 percent of the vote.
Murry had outspent Adcock $608,000 to $498,000, according to campaign finance reports. District 41 spans much of western Wake County.