Republican Gov. Ron DeSantis was caught off guard Thursday when he was notified by U.S. Border Patrol that hundreds of migrants from the Mexican border would be moved into two South Florida counties.

DeSantis, who is close to President Trump, especially since the president’s endorsement helped propel him to the top in the 2018 gubernatorial race, said he would complain to him about the agency’s decision.

"This was not something that came down from the White House. This was something that came out of the agency. Sometimes this stuff happens. It's gonna ultimately be something I'm going to have to talk to the president about," DeSantis said Friday during a press conference noting that he heard the new plans through the media and made a call to the president on Thursday.

In two weeks, Broward and Palm Beach County may start receiving migrants.

FILE - In this April 2, 2019, file photo, immigrants from Central America seeking asylum board a bus in San Antonio. The Trump administration has alerted two counties in Florida to prepare for an influx of immigrants at the border. The federal government is planning to transport more than 100 immigrants a week to Broward and Palm Beach counties, two predominately Democratic counties in Florida. The administration is providing no funding to house or feed them. (AP Photo/Eric Gay, File) (AP)

"I think it will tax our resources, the schools, the health care, law enforcement, state agencies," DeSantis said.

The Palm Beach County Association of Chiefs of Police wrote a letter Thursday complaining to the governor that an influx in migrants would have a "direct effect on the potential homeless numbers and present challenges to our school district."

The surge in migrants across the border has taxed the Texas border facilities, pushing them to move migrants elsewhere for processing. Processed migrants are given a court date and are allowed to stay with family members in the state they are expected to appear.

FLORIDA LEGISLATURE PASSES GOP BAN ON SANCTUARY-CITY POLICIES; DESANTIS EXPECTED TO SIGN INTO LAW

Still, DeSantis insists he will remain “cooperative” with measures to crack down on illegal immigration, even if parts of Florida have been designated for migrants going through processing to reside.

CLICK HERE FOR THE FOX NEWS APP

The Associated Press contributed to this report.