West Palm Beach, Florida (CNN) A driver in President Donald Trump's motorcade inadvertently brought a firearm near the President's beachfront estate on Monday, prompting questioning from the Secret Service and local law enforcement officials.

The driver had been tasked with piloting a van carrying reporters and photographers in the press pool. As is often the case, the White House procures local drivers for certain vehicles in the President's motorcade, while other cars -- including Trump's -- are driven by Secret Service or military personnel.

"The Secret Service can confirm that an individual serving as a staff contracted driver was briefly detained by US Secret Service personnel and other law enforcement officials today. The individual was found to be in lawful possession of a prohibited item (firearm) outside the secure area at a Secret Service security screening checkpoint," the Secret Service said in a statement. "The incident was investigated by the Secret Service and our partners at the Palm Beach County Sheriff's Office and resolved. At no time was any Secret Service protectee in danger or impacted. All Secret Service security measures worked."

The incident came as the White House said the President is supportive of efforts to improve the federal background check system for gun purchases, less than a week after the Florida school shooting that killed 17 people. Trump's resort is less than 50 miles from where the massacre took place.

Reporters in the press pool said the handgun was discovered by Secret Service officials as they searched the individual's bag before the motorcade was scheduled to depart for Trump's golf course. The search took place outside club grounds in a nearby parking lot.

Read More