Pediatrician Annie Andrews defeated Senator Darline Graham in a shocking midterm election upset. She is the first Democrat elected to the Senate from South Carolina since 1998. "They saw I was a real person who had real passion for why I was in this race," Andrews said on Wednesday.

The pediatrician, who once compared JD Vance to the herpes virus, notched one of the most shocking upsets of the midterm elections by defeating Senator Darline Graham.

Annie Andrews, the first Democrat elected to the Senate from South Carolina in nearly three decades, has a history of presenting two different sides of herself to the world.

The first is a pragmatic pediatrician with a Republican father who says she looks forward to working with President Trump. The second is a fiery and liberal mother of three who once lit a devotional candle bearing the face of Dr. Anthony Fauci and lets it rip on social media, at one point growing so frustrated with the Republican Party that she compared JD Vance to the herpes virus.

It's not entirely clear which Annie Andrews is headed to Washington. As she has absorbed her new reality in the weeks since her election, the senator-elect hopes the answer can be both.

"That was important to me, that I didn't start sounding like an over-consulted politician," Ms. Andrews told The New York Times on Wednesday evening, sitting on a pink couch inside her house in Mount Pleasant, a suburb of Charleston, S.C. "They saw I was a real person who had real passion for why I was in this race."

Her victory stunned even some of her most devoted supporters, who had whispered time and again over her 18-month campaign: But it's South Carolina. Voters had not elected a Democratic senator since 1998 and had never chosen a woman. Many conservatives in the state are still reeling that Ms. Andrews beat Senator Darline Graham, a Republican who decided to run for a full six years after she was appointed to serve out the remainder of her late brother's term, by more than four percentage points.

Few know much about this political newcomer beyond her edgy social media posts or campaign ads. The coalition that pushed her to victory included a historic showing of Black voters in addition to Republicans and independents, many of whom split their tickets between her and the Republican candidate for governor.