Berlin - which sees Turkey's bid to have the writer extradited as a politically-motivated move by President Recep Tayyip Erdogan - hailed the Spanish court's decision.
"It would be terrible if, even on the other side of Europe, Turkey succeeded in having people who raise their voices against President Erdogan arrested," said German Foreign Minister Sigmar Gabriel.
Gabriel, who had discussed the case with his Spanish counterpart Alfonso Dastis on Saturday, said he had "the utmost confidence" in the Spanish judiciary and that the government in Madrid "knows what this is about".
Berlin quickly urged Madrid not to extradite Cologne- based Akhanli, who has previously been jailed in Turkey and was granted political asylum and citizenship in Germany.
Writing on Facebook, Akhanli's lawyer Ilias Uyar said his client was "being released from detention on condition he stays in Madrid" while Turkey starts the process of formally requesting his extradition.
"The battle was worth it," the lawer wrote.
Gabriel last month vowed stinging measures hitting tourism and investment in Turkey and a full "overhaul" of troubled relations, accusing Erdogan of trying to muzzle "every critical voice" with mass arrests and sackings.
Yesterday, Erdogan hit out at Gabriel, saying "know your limits" after the minister vehemently criticised the Turkish leader for interfering in Germany's upcoming elections.
Turkey is holding several German citizens in custody, including Turkish-German journalist Deniz Yucel, the Istanbul correspondent of the Die Welt newspaper, who faces trial on terror charges.
Akhanli has written about the highly sensitive historical question of the mass killing of Armenians under the Ottoman Turkish empire.
Half a million to 1.5 million Armenians were killed between 1915 and 1917, in a bloodletting that Armenia and Western historians describe as genocide.
Turkey vehemently objects to the term, saying that 300,000 to 500,000 Armenians and as many Turks died in civil strife when Armenians rose up and sided with invading Russian troops.
He was released four months later after being declared innocent, before an appeals court ordered new proceedings against him.
Disclaimer: No Business Standard Journalist was involved in creation of this content
You’ve reached your limit of {{free_limit}} free articles this month.
Subscribe now for unlimited access.
Already subscribed? Log in
Subscribe to read the full story →
Smart Quarterly
₹900
3 Months
₹300/Month
Smart Essential
₹2,700
1 Year
₹225/Month
Super Saver
₹3,900
2 Years
₹162/Month
Renews automatically, cancel anytime
Here’s what’s included in our digital subscription plans
Exclusive premium stories online
Over 30 premium stories daily, handpicked by our editors


Complimentary Access to The New York Times
News, Games, Cooking, Audio, Wirecutter & The Athletic
Business Standard Epaper
Digital replica of our daily newspaper — with options to read, save, and share


Curated Newsletters
Insights on markets, finance, politics, tech, and more delivered to your inbox
Market Analysis & Investment Insights
In-depth market analysis & insights with access to The Smart Investor


Archives
Repository of articles and publications dating back to 1997
Ad-free Reading
Uninterrupted reading experience with no advertisements


Seamless Access Across All Devices
Access Business Standard across devices — mobile, tablet, or PC, via web or app
