Thousands of rival demonstrators hit the streets of Cologne as Turkish President Recep Tayyip Erdogan opened the country's largest mosque at the end of his visit to Germany.
Aiming to improve political and economic relations with Berlin, Erdogan paid a three-day high-profile state visit to Germany on September 27-29.
"We are leaving painful terms in the recent past with Germany behind", Erdogan said in a Twitter post. He had breakfast with German Chancellor Angela Merkel in Berlin on Saturday.
Despite the tensions between Turkey and the U.S. over the Brunson case, Erdogan said, "We hope to develop political and economic relations with the USA under a strategic partnership perspective".
He noted that Turkey lifted the state of emergency following the June 24 presidential and parliamentary elections in the country. Merkel also skipped the banquet. "It therefore marks the beginning of a road towards detente", Marc Pierini, visiting scholar at Carnegie Europe and a former European Union ambassador to Turkey, told AFP.
Mr Steinmeier said the "strong emotions" the visit aroused in Germany were a reflection of tensions that have yet to be overcome and warned: "A single visit is not enough to restore normality".
Trump threatens new tariffs on China, says no trade deal
There are now USA tariffs active on US$250 billion worth of Chinese goods, with threats on additional goods worth US$267 billion. We do now, by the way. "Over the last five years, we've averaged $800 billion a year loss on trade", the president said.
Many waved Turkey's red and white flag or held up pictures of Erdogan, with crowds cheerfully breaking into regular chants of the president's name or shouting "Who is the greatest?"
But she also highlighted Germany's interest in a "stable" Turkey, which she relies on to help stem the flow of migrants to Europe.
"It will be a long and arduous road toward normalisation", he said.
Erdogan's Friday visit to Berlin has stirred considerable controversy in Germany, with many criticizing Merkel for hosting a leader which some in the country accuse of being increasingly authoritarian.
But he expressed satisfaction that "both sides made a cautious attempt at rapprochement".