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.

At least eight die, 18 missing after ferry capsizes off North Cyprus
Rescuers battle floods and debris as Himalayan disaster death toll nears 800
Manhunt underway after woman killed, several injured at Swiss shooting
Israeli strike kills two Palestinians, Gaza medics say
