Herbalife Nutrition Ltd. ’s chief executive has resigned after the company said it discovered comments he made prior to becoming CEO that were inconsistent with its standards.

The nutritional-supplement company said CEO Richard Goudis, who assumed the post in June 2017, resigned Tuesday. Prior to becoming CEO, Mr. Goudis was the company’s operating chief for seven years.

Michael Johnson, who served as the company’s CEO from 2003 until Mr. Goudis’s tenure started, will take over on an interim basis, Herbalife said. The company said its board would select the permanent CEO from its current senior leadership team.

The Los Angeles company said Mr. Goudis’s departure relates to comments he made that were contrary to Herbalife’s expense-related policies and business practices and inconsistent with its culture. Herbalife declined comment beyond its news release and a securities filing.

Mr. Goudis didn’t respond to requests for comment.