WASHINGTON/ANKARA (Reuters) - The United States and Turkey on Friday mutually lifted sanctions on top government officials, a sign of a thaw in relations that had been chilled by Ankara’s detention of an American Christian pastor.

Turkey's Minister of Justice Abdulhamit Gul attends the opening of the Council of Europe's conference on reform of the European Human Rights Convention System, in Copenhagen, Denmark April 12, 2018. Scanpix Denmark/Bax Lindhardt/via REUTERS

The United States had imposed sanctions on Justice Minister Abdulhamit Gul and Interior Minister Suleyman Soylu in August to protest the case of Andrew Brunson, an American Christian pastor who had been detained by Turkey for two years.

The U.S. Treasury Department announced on its website that the sanctions had been lifted. Turkey immediately matched the U.S. move by lifting sanctions on two corresponding U.S. officials - U.S. Secretary of Homeland Security Kirstjen Nielsen and Attorney General Jeff Sessions, the foreign ministry said.

U.S. President Donald Trump and Turkish President Tayyip Erdogan agreed to mutually lift the sanctions during a phone call last week, said Omer Celik, spokesman for Turkey’s ruling AK Party.

“It is an important step for normalization from this point forward,” Celik said. The White House did not have any immediate comment.

Tensions between the NATO allies on this and other issues have weighed on the Turkish economy. After Friday’s move, Turkey’s sovereign dollar bonds jumped, with many issues adding 1 cent or more.

Brunson, who had lived in Turkey for more than 20 years, was swept up in raids after a 2016 coup attempt against Erdogan. He was jailed two years ago and up until his release last month had been under house arrest since July, accused of links to Kurdish militants and supporters of Fethullah Gulen, a cleric blamed by Turkey’s government for the coup attempt.

Brunson maintained his innocence, and his case was championed by U.S. evangelical Christians.

After a July deal to free Brunson fell apart, Washington imposed sanctions and tariffs on Ankara that sent the lira tumbling.

Relations have also been strained by U.S. support of Kurdish fighters in northern Syria, Turkey’s plans to purchase a Russian missile defense system and the U.S. jailing of an executive of a Turkish state bank in an Iran sanctions case.

Washington has also been pushing Turkey to release Turkish- American Serkan Golge, a former NASA scientist, who was arrested in the 2016 crackdown, as well as Turkish citizens employed by the U.S. State Department who were detained in the sweeps.