Justice Anthony Kennedy, who has occupied the powerful center of an ideologically divided U.S. Supreme Court for more than a decade, announced on Wednesday he will retire, giving President Donald Trump the opportunity to cement a conservative majority on the court for years to come.

Kennedy’s announcement came Wednesday afternoon after the court had recessed for the summer. In a letter to Trump, he said his retirement was effective July 31 and he would then assume senior status.