The center-right politician will serve as prime minister until 2027, when he surrenders the post to a social democrat.