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.

Israeli military kills chief of Hamas' armed wing in Gaza strike
WHO's Tedros says 2 workers killed carrying Congo relief supplies
Surfer killed in shark attack in Australia's New South Wales
Pope Leo condemns attacks on Ukrainian civilians, urges Gaza flood relief
Meta says Australia social media ban hit 1.5 million teen accounts in first year
Saudi-led coalition launches military response against Houthis
Three foreigners, five Pakistani civilians killed after militants attack Barrick's gold mine
Twelve killed by Russian attacks on Ukraine, key dam targeted
