Answer
Branstad resigned as governor of Iowa on May 24, 2017, after serving for six terms. He had been the longest-serving governor in the state's history, holding the position for 22 years. Branstad resigned to become the U.S. ambassador to China, a position he held until 2021.