Turkey's state-run news agency says an Istanbul court has sentenced two opposition journalists to two years in prison for publishing French satirical magazine Charlie Hebdo's controversial cover featuring a cartoon of the Prophet Muhammad.

Anadolu Agency says the court on Thursday convicted Cumhuriyet newspapers' columnists Ceyda Karan and Hikmet Cetinkaya of fomenting "hatred and enmity." The court acquitted them of the separate charges of "insulting religious values."

The two are expected to appeal their conviction.

Cumhuriyet had printed a selection of cartoons and articles in a show of solidarity with Charlie Hebdo following last year's attack on the magazine's Paris offices.

The four-page pullout did not feature the controversial cover, but the two journalists included images of it in their columns in the same edition.