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.

Belarus frees Nobel winner, protest figures as US lifts more sanctions
Indonesia flood death toll exceeds 1,000
Ukraine's Odesa suffers major blackouts after Russian attack
Two killed in Ukrainian drone strike on Russia's Saratov
Thailand continues Cambodia strikes despite Trump's ceasefire claim
