Answer
In 2017-2018, Martín Vizcarra was serving as the Ambassador of Peru to Canada. He was appointed to the position by President Pedro Pablo Kuczynski on 28 February 2017, and he presented his credentials to Canadian Prime Minister Justin Trudeau on 29 May 2017. Vizcarra served as Ambassador to Canada until 2018, when he was appointed as Prime Minister of Peru.