 From 28 February 2014 to 1 June 2018 he served as Deputy Minister of Infrastructure and Transport in the governments led by Matteo Renzi and Paolo Gentiloni.In the 2018 general election he was elected Senator in the uninominal constituency of Arezzo.In 2019 he left the office of PSI Secretary and was appointed President of the party.