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.

Omani court sentences 2 foreigners to one month in prison for disturbing turtles
US Coast Guard suspends search for people on crashed medical aircraft
Brazil's Flavio Bolsonaro beats polls in presidential vote, faces Lula in runoff
Merz unveils fresh military aid in Kyiv, says Germany won't be intimidated
Protests demanding Indian election chief resigns escalate
