President Trump and his advisers are privately discussing the possibility of replacing Attorney General Jeff Sessions, and some confidants are floating prospects who could take his place were he to resign or be fired, according to people familiar with the talks.

Members of Trump’s circle, including White House officials, have increasingly raised the question among themselves in recent days as the president has continued to vent his frustration with the attorney general, the people said.

Replacing Sessions is viewed by some Trump associates as potentially being part of a strategy to fire special counsel Robert S. Mueller III and end his investigation of whether the Trump campaign coordinated with the Kremlin to influence the 2016 election, according to the people, who spoke on the condition of anonymity because they were not authorized to comment publicly.