Minneapolis-based General Mills Inc.’s general counsel, Richard Allendorf, will retire in August after 23 years with the company.

Allendorf joined General Mills in 1998, overseeing the company’s global ethics and compliance program and leading the legal team supporting the U.S. retail business and consumer foods before becoming deputy general counsel in 2012 and general counsel in 2014.