In 2008 federal election he was elected to represent the writing of Papineau in the house of commons.
In 2009 he was appointed the liberal parties critic for youth and multiculturalism.
In 2010 he became critic for citizenship and immigration.
In 2011 he was appointed as critic for secondary education and sport.
In April 2013 he led his party to victory in the 2015 election, moving the third-place liberals from 36 seats to 184 seats, the largest ever numerical increase by a party in a Canadian federal election.