CAIRO - An Egyptian court sentenced 12 supporters of deposed Islamist president Mohamed Morsi to 17 years in prison on Wednesday for taking part in a violent protest, state media reported.