A British man who had volunteered with the Kurds to fight ISIS in Syria reportedly killed himself after getting surrounded by militants.

Ryan Lock, 20, from West Sussex, sustained a leg injury while fighting in Raqqa on Dec. 21 before getting surrounded by ISIS fighters, The Guardian reported. He then shot himself to avoid getting captured.

The YPG told the BBC that a “trace of a gunshot wound was found under the chin.”

In August, Lock told his mom that he was going backpacking in Turkey, and only later told her that he had volunteered with the YPG, Sky News reported.