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.

Bus-truck head-on collision in Parana, Brazil kills at least 21
At least 9 killed in hotel fire in India's Kolkata
Russian drone attacks kill five in Ukraine's Kherson, governor says
Ebola cases in Congo exceed 5,000, government data shows
8 Israeli airstrikes hit Syria's Abu al-Duhur airbase, state TV reports
