A Palestinian caught trying to infiltrate a settlement Wednesday night claims he was sent by his family members, who had hoped he would be killed by soldiers during the infiltration.

Israel Defense Forces soldiers patrolling the central West Bank near the settlement of Beit El on Wednesday spotted a Palestinian walking toward the settlement and subsequently arrested him.

According to the investigation into the incident, the boy was behaving in a strange manner and the soldiers originally thought that he was drunk. Later on in the investigation, it was clarified that he was actually suffering from a mental illness.

The boy told investigators that his family wanted him dead. He said they threatened him at gunpoint, forcing him to walk towards the settlement with the hope that soldiers would think he was trying to infiltrate and would shoot him.

IDF scouts who searched the area confirmed the boy's version of events and found four family members who had tried to flee the area.