The break-in happened on Washington Boulevard near Rosemead Boulevard Tuesday evening, according to the Los Angeles County Sheriff's Department. Deputies surrounded the building before the man was detained.
Authorities could not say exactly how he got inside or what he might've been trying to steal.
Nobody else was believed to be involved.