(The Hill) — Texas Democratic gubernatorial candidate Beto O’Rourke is pausing campaigning after being hospitalized with a bacterial infection.

O’Rourke tweeted Sunday afternoon that he started to feel ill on Friday and checked into the Methodist Hospital in San Antonio, Texas, where he was diagnosed with a bacterial infection.

“While my symptoms have improved, I will be resting at home in El Paso in accordance with the doctors’ recommendations,” he wrote. “I am sorry to have had to postpone events because of this, but promise to be back on the road with you as soon as I am able.”

O’Rourke is seeking to knock off Texas’ Republican Gov. Greg Abbott, who is seeking reelection.

The race is expected to be close; Abbott was leading O’Rourke by seven points in a poll released this month.

O’Rourke, who previously ran for a Texas Senate seat and narrowly lost to incumbent Republican Sen. Ted Cruz.

Earlier this month, O’Rourke drew national headlines when he called out a heckler who laughed as the candidate discussed the recent mass shooting in Uvalde, Texas, which left 19 children and two adults dead.