The man was arrested for robbery.