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.

Yemeni military says Houthi attack on Mocha kills 7, wounds 30
Netanyahu says Trump's new Gaza plan is unacceptable
Ukraine, Russia accuse each other of lethal attacks
Israel military closes Palestinian village of Taybeh to halt settler attacks
Air India pilot undergoes further testing after initial screening result
