How does the sentence end?

He threw the stones at the intruder to deter him from advancing past the gates. The
gates were insufficient deterrents.