President Trump stayed behind in the White House, officials said, since his travel to the hospital could have meant a press pool would have camped out during the private medical procedure.

But once the East Wing announced Melania’s hospital stay, the president boarded Marine One two hours later to visit his wife.

“Heading over to Walter Reed Medical Center to see our great First Lady, Melania,” Trump tweeted. “Successful procedure, she is in good spirits. Thank you to all of the well-wishers!”

Earlier Monday, Trump kept a light schedule Monday with no public events and was planning to visit his wife.

“The president spoke with the First Lady before the procedure, and the president has spoken with the doctor after the procedure,” a White House source told the Post.

It’s unsurprising the East Wing kept her medical condition private until after the procedure.

She largely stayed away from the campaign trail during her husband’s historic run for the White House, but just recently has taken on a more public role.

The first lady held her first major solo event Monday at the White House Rose Garden to unveil her “Be Best” initiative. It focuses on children’s health and combating cyberbullying and opioid abuse.

Later in the week, she and the president greeted the freed American hostages in the middle of the night for their victorious arrival from North Korea at Joint Base Andrews.

It’s been more than a decade since a First Lady had an extended hospital stay while in office.

In 1987, Nancy Reagan underwent a mastectomy to remove her cancerous left breast. President Ronald Reagan visited her at Bethesda Naval Hospital where he reportedly told her. “’Honey, I know you don’t feel like dancing. So let’s hold hands.”

First lady Laura Bush had surgery in 2007 at George Washington University Hospital to treat pinched nerves in her neck. She returned to the White House after the 2 ½ hour procedure. President George W. Bush was traveling abroad and at the time and called his wife from Air Force One.

Melania Trump enjoys widespread popularity and the news of her sudden health condition drew a quick outpouring of well-wishes.