According to the prosecutor’s office, it's because they're accused of having links to the network of US-based cleric Fethullah Gulen.
Ankara says it was him who orchestrated a 2016 attempted coup.
Those who are facing jailtime include three colonels, eight majors and 10 lieutenants.

Trump criticises Israel strike as US, Iran inch closer to deal, timing remains unclear
Congo says 782 Ebola cases confirmed, two new health zones affected
Israel says military attacks Hezbollah targets in Beirut's southern suburbs
Twelve people killed in Missouri plane crash, state highway patrol says
Protesters set Tesla ablaze, smash UN office's windows in anti-G7 march in Geneva
