TAMARAC, Fla. – Broward Sheriff's Office deputies shot a domestic violence suspect Thursday night in Tamarac after he shot a woman, the sheriff said.

Sheriff Gregory Tony said the situation was dangerous. He said deputies and paramedics knew the suspect had shot a woman when they were called to a two-story apartment building at 5881 NW 57th Court.

"He took it upon himself to stand on the landing and stop our deputies from going in there and safeguarding and treat this individual," Tony said. "And only after 20-plus minutes of trying to get this thing to de-escalate, he elected to point his weapon in a hostile manner at our deputies."

Cellphone video shows a man was holding a gun to his head. Witnesses said deputies ordered him to drop the gun before they heard eight to nine gunshots.

A relative said a man shot his girlfriend in her apartment. Deputies rescued the woman.

Tony said several deputies fired their weapons. He said they "did an outstanding job."

Gina Carter, a spokeswoman for the agency, said the suspect and the woman were taken to a hospital.