He won a seat in Pakistan's National Assembly as member from NA-142 (Kasur-V) in 1993 and later in 1997 and served on the Parliamentary Standing Committee on Foreign Relations. He left PML after the 1999 coup d'état and joined the military backed regime to become the Minister of Foreign Affairs in 2002 and remained until 2007.