Man arrested for assaulting a police officer