Ahmed has served as a member of the federal cabinet in various positions, between 1992 and 1997. He first served as Federal Minister for Information and Broadcasting from 2002 to 2006 and then as Federal Minister for Railways from 2006 to 2007. In 2008, he founded his own political party after losing his traditional seat from Rawalpindi.