Turkish opposition ex-official gets 10 years in jail