A California tour operator accused of delivering classified U.S. national security information to officials in China was denied bail Wednesday after a judge deemed him a flight risk.

Xuehua “Edward” Peng was also ordered to hire his own attorney after U.S. Magistrate Judge Jacqueline Corley ruled he didn’t qualify for a free public defender.

Peng, 56, was arrested in his San Francisco-area home Friday as part of an FBI sting operation targeting Chinese intelligence operatives in the U.S. He is charged with acting as an illegal agent of a foreign government.