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 appears on National Mall for July 4 speech after storm-related delay
St. Petersburg region port, oil terminal hit in Ukrainian drone attack
Thousands protest in Germany as far-right AfD sets sights on power
Trump extols America, rails at communism in US 250th celebration
Zelenskyy denies Russian capture of key eastern city Kostiantynivka
Keiko Fujimori declared winner of Peru presidential race
Ukrainian rescuers clear rubble as Kyiv mourns 30 killed in Russian attack
Monaco blast suspect is a Ukrainian woman who fled to Germany
