He was elected to the
Provincial Assembly of the Punjab as an independent candidate from Constituency PP-204 (Rajanpur-I) in the
1997 Pakistani general election. He was elected as the member of the National Assembly on a ticket of
National Alliance (Pakistan) from
NA-173 (D.G.Khan-III) in the
2002 Pakistani general election. He served as Minister for Information Technology and Telecommunications. He was elected as the member of the National Assembly from
NA-172 (D.G.Khan-II) in by-election held in March 2011. The seat became vacant after his father
Farooq Leghari died who won the seat in 2008 election. He joined
Pakistan Muslim League (N) in May 2013. Following the election of Shahid Khaqan Abbasi as Prime Minister of Pakistan in August 2017, he was inducted into the federal cabinet of
Abbasi. He was sworn in as Federal Minister without any portfolio on 4 August 2017. He was offered the portfolio of ministry of science and technology but he refused to accept it. Reportedly, he demanded the portfolio of privatization. In October 2017, he was made
Federal Minister for Power. Upon the dissolution of the National Assembly on the expiration of its term on 31 May 2018, Leghari ceased to hold the office as Federal Minister for Power. He was re-elected to the Provincial Assembly of the Punjab as a candidate of PML-N from Constituency PP-292 (Dera Ghazi Khan-VIII) in by-election held on 14 October 2018. He was re-elected to the National Assembly from
NA-186 Dera Ghazi Khan-III as a candidate of PML(N) in the
2024 Pakistani general election. He received 100,252 votes and defeated Sajjad Hussain, an independent candidate supported by
Pakistan Tehreek-e-Insaf (PTI), who received 97,990 votes. ==References==