The White House expects the Turkish government to release detained American pastor Andrew Brunson in the coming days after reaching a secret deal, NBC News reported Thursday, citing two senior administration officials and another person briefed on the situation.

NBC reported that while the details of the agreement weren’t immediately clear, it does include a U.S. commitment to scale back economic pressure on Turkey. The Turkish lira rallied more than 2 percent on the news to trade at 5.97 per U.S. dollar.

The White House did not immediately respond to CNBC’s request for comment. There are some doubts within the administration about how conclusive the deal may be, NBC News reported. One senior official told the outlet that Turkey came close to a similar agreement several months ago.

The continued detention of the pastor, who was arrested in 2016 following a failed coup attempt in the country, compelled the U.S. to slap Turkey with sanctions over the summer.

Read the full story at NBC News.

This story is developing. Please check back for updates.

CNBC’s Fred Imbert contributed to this article.