Christian Schmidt had been in the role since 2021, and departs after appearing to lose the backing of the United States.