Danielsson was elected into the European Parliament in the 2019 elections.[3] In parliament, he served on the Committee on Transport and Tourism. In addition to his committee assignments, he was part of the Parliament's delegation for Northern cooperation and for relations with Switzerland and Norway and to the EU-Iceland Joint Parliamentary Committee and the European Economic Area (EEA) Joint Parliamentary Committee. He was replaced in the European Parliament by Ilan de Basso.