An unknown assailant broke into an FBI agent’s vehicle in San Francisco, stealing a gun along with the agent’s badge, city police officials said.

The FBI agent reported that his vehicle had been broken into around 12:30 p.m. Sunday at the corner of Hayes and Pierce streets in Alamo Square, just 1½ blocks away from the city’s famous Painted Ladies, said Officer Carlos Manfredi, a spokesman for the San Francisco Police Department.