A Chinese illegal immigrant was arrested in California on Wednesday after entering a Marine Corps base without authorization and ignoring orders to leave, officials say.

Border Patrol’s El Centro Sector Chief Patrol Agent Gregory Bovino said that agents responded to a call from the base about a Chinese national “who entered the base w/o authorization, ignoring orders to leave.”

A spokesperson for the U.S. Marine Corps’ Training and Education Command told Fox News Digital that the individual had attempted to access the Marine Corps Air Ground Combat Center in Twentynine Palms, California, without valid ID.

“Despite being prompted to exit at the Condor gate by installation security, the individual proceeded onto the installation without authorization. Military law enforcement were immediately notified and detained the individual,” the spokesperson said.

The base then contacted Customs and Border Protection (CBP), and he was then taken into custody. CBP said that Border Patrol agents had responded to a report of a suspected Chinese national who had driven onto the base without authorization. The agents arrived and determined that the man was a Chinese national who was illegally present in the U.S.

“Subject was confirmed to be in the country illegally,” Bovino said on X, formerly known as Twitter. “His purpose & intent behind his actions are still being investigated.”