Jay Carney, who was press secretary for former President Barack Obama, is leaving his job at Amazon.

The global head of policy and communications would be Mr. Carney.

Mr. Carney joined Amazon as its first senior vice president of global affairs, combining public relations and government lobbying as the company faced increasing scrutiny. His boss, Jeff Bezos, one of the richest men in the world, was also protected.

Andy Jassy replaced Jeff Bezos as the company's CEO last July. Mr. Jassy is known for his attention to detail and has dug into parts of the company that are new to him.

Dave Clark said last month that he was leaving before a successor was named. Mr. Clark was replaced by a transportation executive. The two most senior Black executives left the company.

Mr. Jassy praised Mr. Carney for helping build a strong set of capabilities in Public Policy and PR. The email was obtained by the NYT.

In an email to his team on Friday, Mr. Carney said that everything about his time at Amazon had exceeded his expectations. When contacted on Thursday, he did not give a comment.

Amazon has faced regulatory threats in the past, but this time they are more frequent. The Federal Trade Commission, led by an Amazon critic, is looking into whether the company broke antitrust laws. Legislation may be voted on this year to stop Amazon from favoring its own products over those of competitors in its marketplace.

The company has been promoted as a signature employer by its public relations specialists and lobbyists. The company's announcement of a minimum wage of fifteen dollars an hour drew praise from its frequent critic.

Amazon underestimated the progressive backlash it would face in potentially building a major presence in New York when it searched for a second headquarters. Amazon decided to go somewhere else and chose a different location.

An official Amazon account dismissed a congressman's concerns that workers had to urinate in bottles while on the job. The company made an apology.

Amazon has said that the antitrust legislation would make it difficult to offer fast shipping on its Prime service. In 2015, the company spent nearly $10 million on federal lobbying. It spent almost 20 million dollars last year.

Four people with knowledge of the internal announcement said that Drew Herdener was promoted to senior vice president. In an interview last fall, Mr. Herdener said that the communications team had grown from 10 to hundreds.

The policy teams will report to David Zapolsky as the company searches for a new head of global affairs.

Chris Lehane, a former aide to Bill Clinton, left for acryptocurrencies venture capital fund earlier this year.

Reporting was contributed by the person.