Previously, he was a member of the Provincial Assembly of the Punjab from 1997 to 1999. He was a member of National Assembly from 2002 to 2007 and again from June 2013 to April 2018. During his first tenure as Member of the National Assembly, he served as Minister of State for Foreign Affairs from September 2004 to November 2007 in the federal cabinet of Prime Minister Shaukat Aziz.