(CNBC) — Dina Powell, a Goldman Sachs executive and former deputy national security advisor to President Donald Trump, has had discussions with senior members of the administration about possibly succeeding Nikki Haley as U.S. ambassador to the United Nations.

In the days leading up to Haley’s sudden and surprising resignation Tuesday, senior White House officials reached out to Powell about possibly taking the role, according to three people with direct knowledge of the matter.

Because of these conversations and her experience, Powell has become one of the leading candidates for the role in the eyes of some people close to the president, according to one of the people, who spoke on condition of anonymity.

Note: Read our discussion guidelines before commenting.