South Carolina Republican congressional candidate Katie Arrington was seriously injured in a car accident Friday night, and will require weeks of recovery and multiple surgeries.

Arrington — a state representative who defeated U.S. Rep. Mark Sanford in the GOP primary — had undergone surgery and was recovering Saturday at a Charleston-area hospital, her spokesman said.

Arrington, 47, and a friend, Jacqueline Goff, were traveling from Charleston to Hilton Head Island on U.S. Highway 17 around 9 p.m. Friday when a vehicle traveling in the wrong direction hit their vehicle. Goff, 59, who was driving, was also seriously injured.

The driver of the other vehicle, who was not publicly identified, died at the scene, according to the local sheriff.

President Trump tweeted his support for Arrington on Saturday morning, saying his “thoughts and prayers are with Representative Katie Arrington of South Carolina, including all of those involved in last nights car accident, and their families.”

Arrington suffered a back fracture and several broken ribs, and underwent surgery to remove portions of her small intestine and colon, her spokesman said. He added that she will need additional surgeries and a stent to repair the partial collapse of the primary artery in her legs.

She was alert and talking Saturday morning, the spokesman said, but will need to stay in the hospital for two weeks.

Her opponent in the congressional race, Democratic nominee Joe Cunningham, suspended his campaign until further notice.

Arrington defeated Sanford, the former governor, in a GOP primary on June 12. He had had never lost an election before, even after a high-profile extramarital affair with a woman in Argentina.

Sanford also tweeted his “thoughts and prayers” to Arrington.