(CNN) Nida Allam made history on Tuesday night when she became the first Muslim American woman to be elected to office in North Carolina, her campaign says.

Allam, who ran as a Democrat, was one of five women to win the party's primary for the Durham County Board of Commissioners' five seats, according to the North Carolina State Board of Elections . She finished fourth with 39,523 votes.

Since there are no Republican candidates running in the general election, Allam and the four other candidates will presumptively take office in November.

"People of Durham you made history last night by electing me as the FIRST Muslim Woman to serve the state of North Carolina," Allam tweeted Wednesday morning . "I can't even express how grateful I am to have earned your trust and support."

The campaign told CNN that officials looked back at previous North Carolina election data, county by county, and found no previous Muslim American women who had won elections to hold office in the state.

Read More