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.

Several people detained in India's Gen Z-led protests against voter roll changes
Saudi Arabia says shrapnel from intercepted ballistic missile in Asir injures one
Israeli strike kills five in Gaza, health officials say
Nine injured in Australia as car crashes into crowd north of Sydney
India's 'cockroach' youth party to protest, demand poll chief's resignation
