A Turkish court on Thursday ordered the release of a second German national arrested last week for "political reasons," local media reported, as tensions escalated between the two allies in the run-up to the German election.
The identities of the two individuals have not been disclosed, but Turkish media reported they were a couple holidaying in the southern Mediterranean resort of Antalya.
The arrest of the two was announced on September 1 by Berlin with great consternation, with the foreign ministry saying they were detained for "political reasons".
The first national was freed on Monday.
The Dogan news agency reported that the second German national -- identified only as K.A. -- was released on Thursday, with the court placing them under an overseas travel ban.
Dogan said the two people had been arrested as part of an investigation into a group led by US-based Muslim cleric Fethullah Gulen -- who is accused by Ankara of ordering the July 15, 2016 failed coup.
The arrests have further strained bilateral ties between the two NATO allies, which deteriorated after Berlin sharply criticised Ankara over the crackdown that followed the putsch.
Comments made Sunday by German Chancellor Angela Merkel did not improve matters.
Merkel said it was "clear that Turkey should not become a member of the European Union" and that she "had never believed that it would happen".
Merkel's strong words prompted a swift rebuke from Ankara, with President Recep Tayyip Erdogan's spokesman on Monday accusing German politicians of pandering to populism.