Two police officers were assaulted after trying to detain a youth