President Volodymyr Zelensky of Ukraine appointed Chrystia Freeland, a former deputy prime minister of Canada, to a role in which she would advise on postwar reconstruction.