The man allegedly assaulted a police officer as well.