Turkish police have rearrested the journalist and novelist Ahmet Altan, just a week after his release from prison over alleged links to the failed 2016 coup.

Altan and another veteran journalist, Nazli Ilicak, were released on 4 November despite having been convicted of “helping a terrorist group”.

The Istanbul court sentenced Altan to more than 10 years in jail but ruled that he and Ilicak should be released under supervision after time already served – around three years each. They were forbidden to leave the country.

But an arrest warrant was issued on Tuesday after the chief public prosecutor appealed against the decision to release Altan, state news agency Anadolu said.