Turkey: Teacher given 6 years on terror charges, freed