Sen. Bob Menendez, D-N.J., told President Trump to "grow up" after the president accused the mayor of San Juan, Carmen Yulin Cruz, of demonstrating poor leadership as the island works to recover from Hurricane Maria.

"Mr. President, I just saw this in PR. Attacking Mayor @CarmenYulinCruz isn't doing a damn thing to clean it up & begin recovery. Grow up!" Menendez tweeted Saturday, along with an aerial photo of structures destroyed by Hurricane Maria.

Menendez traveled to Puerto Rico on Friday to survey the damage from the Category 4 storm, which made landfall last week. The New Jersey Democrat is currently on trial for bribery and corruption, and he will be back in court Monday.

On Saturday morning, the president attacked Cruz after she said the Trump administration wasn't doing enough to help Puerto Rico.

"The Mayor of San Juan, who was very complimentary only a few days ago, has now been told by the Democrats that you must be nasty to Trump," Trump tweeted.

"Such poor leadership ability by the Mayor of San Juan, and others in Puerto Rico, who are not able to get their workers to help. They want everything to be done for them when it should be a community effort. 10,000 Federal workers now on Island doing a fantastic job," he said in additional tweets.

Many have criticized Trump and the administration for its response to the crisis in Puerto Rico, where half of the island's population is without access to drinking water.

Hurricane Maria knocked out power for the entire island, and it could take months for it to be restored. Since the storm made landfall, access to food, water, fuel and medicine has been an issue.