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.

US military to begin Iran maritime blockade on Monday
Hungary's Orban concedes landmark election defeat
Trump vows to blockade Strait of Hormuz after Iran peace talks stumble
Nigerian airstrike hits market, 200 feared dead
Russia, Ukraine trade accusations of ceasefire violations
