The court sentenced the resident of Bokhtar for 5 years for trying to join IS