New York and New Jersey will finally receive a small amount of comfort for its crowded hospitals.

On Monday night, hours after New Jersey Gov. Phil Murphy (D) thanked President Trump on Twitter for allowing covid-19 patients to be treated aboard USNS Comfort, New York Gov. Andrew M. Cuomo (D) also announced the navy ship’s new purpose in the fight against the novel coronavirus.

“This will provide much-needed relief to our overstressed hospital systems,” Cuomo said in a tweet.

Trump confirmed the move at Monday’s coronavirus task force briefing, noting that “hopefully that will be very helpful to both states.”

The naval hospital ship will provide 1,000 additional beds staffed by federal medical personnel, but its approval to treat patients of the contagious virus came a week after USNS Comfort had already docked in New York Harbor. On March 28, with a wartime-like fanfare, Trump attended the ship’s send-off and proclaimed: “We are marshaling the full power of the American nation — economic, scientific, medical and military — to vanish the virus.”

However, upon arrival, the ship accepted only 20 patients, according to the New York Times, and restricted anyone infected by the coronavirus. Michael Dowling, president and CEO of Northwell Health within the state’s hospital system, described the ship’s refusal of covid-19 patients as “a joke.”

By Sunday, however, Trump reversed course in a task force briefing and said the Navy ship would be “ready” to assist hospitals overburdened by coronavirus cases.