William Lewis, the publisher of The Wall Street Journal and chief executive of its parent company, Dow Jones, said that he would leave the roles he had held since 2014.

“I am so grateful to all my colleagues at Dow Jones for having made me so welcome, and I am delighted to be leaving the company in such strong financial shape,” he said in an email to The New York Times on Wednesday. “Most of all, I am really proud of how we have been able to advance the careers of so many female colleagues at our company.”

The Journal published an article on Wednesday saying that his contract had not been renewed. In an email, Mr. Lewis said that was not the case.

“It is all entirely amicable and I was not informed that my contract would not be renewed,” he told The Times. “Frankly, it’s time for me to get home to London.”