Columbia, SC (WLTX) - Longtime state Rep. James Smith has won the Democratic nomination in South Carolina's gubernatorial race.

Smith defeated Charleston consultant Phil Noble and Florence attorney Marguerite Willis in Tuesday's primary.

MORE: South Carolina Primary Full Electon Results

Smith has led the pack in fundraising, but recent polling in the race showed many voters had yet to make up their minds.

The incumbent, Republican Gov. Henry McMaster, is seeking his first full term in office.

Smith has served in the state Legislature for 22 years. He was a JAG officer in the U.S. Army Reserve and South Carolina Army National Guard but resigned his commission after the Sept. 11 attacks to enlist in the infantry.

Smith has selected fellow state Rep. Mandy Powers Norrell as his running mate.