 He represented the riding of Ajax—Pickering, in Ontario, in the House of Commons of Canada from 2011 to 2015.He was defeated by his Liberal predecessor Mark Holland in the 2015 election.Alexander spent 18 years in the Canadian Foreign Service, and served as Canada's first resident Ambassador to Afghanistan from 2003 to 2005.