Officers with the Houston Police Department fatally shot an armed man near a southwest Houston elementary school Monday morning.

According to KHOU-TV, Chief Art Acevedo said two officers responded to reports of a man with a gun near Valley West Elementary School. Upon their arrival, the man began behaving erratically.

Officers say the man refused commands to drop the weapon and eventually pointed a gun at them.

The man—whose name has not yet been released—was fatally struck.

No officers were injured in the shooting.