Following court's decision, the student told journalists he is not a terrorist and did not mean to insult the president, the newspaper reported.
The student's release comes amid the publication of a petition condeming the arrest signed by a number of lawyers who called it unlawful, Hurriyet reported.
Turkish teenager released from custody after his arrest for allegedly insulting President Erdogan caused uproar http://t.co/Xr2i961RK1
— The Associated Press (@AP) 26 декабря 2014
On Wednesday, the student was detained while at school and arrested for insulting Erdogan in a speech.
The student, a member of the Democrat High School Students group on Facebook, participated in a demonstration marking the 84th anniversary of the murder of a Turkish Army commander by extremists. During the demonstration, he made a speech mentioning the anti-corruption operation carried out by Turkish authorities in 2013 and accused Erdogan of theft, bribery and corruption.
Last year, Turkish authorities conducted an anti-corruption operation that resulted in a number of officials, businessmen and their relatives arrested over suspicions of fraud, bribery and abuse of power. Economy Minister Zafer Caglayan, Interior Minister Muammer Guler, European Affairs Minister Affairs Egemen Bagis and Environment and Urban Planning Minister Erdogan Bayraktar all resigned after being accused of corruption.