The Atlantic said on Tuesday that it had named Jeffrey Goldberg, a correspondent for the company since 2007, its next editor in chief, drawing an extensive search to a close.

The role had been vacant since the end of April, when James Bennet left the magazine to rejoin The New York Times as its editorial page editor. David G. Bradley, the chairman of Atlantic Media, received nearly 500 recommendations for the position, and he and Bob Cohn, president of The Atlantic, considered several dozen candidates.

“It is fair to say that, together, we met a great deal of the nation’s top editorial talent,” Mr. Bradley wrote in a memo to employees. “But, at least for us, Jeff is something set apart.”

Since joining The Atlantic nine years ago, Mr. Goldberg has written 11 cover stories, won numerous awards, and has become known for his coverage of foreign affairs. He shaped The Atlantic’s recent editorial endorsing Hillary Clinton for president, only the third presidential endorsement in the magazine’s nearly 160-year history. The endorsement, which was published last week, called Donald J. Trump, the Republican presidential nominee, “the most ostentatiously unqualified major-party candidate in the 227-year history of the American presidency.”