He ran for the seat of the National Assembly of Pakistan as a candidate of Pakistan Peoples Party (PPP) from Constituency NA-216 (Khairpur-II) in the 2002 Pakistani general election but was unsuccessful. He received 58,735 votes and lost the seat to Pir Sadaruddin Shah, a candidate of Pakistan Muslim League (F) (PML(F)). In the same election, he ran for the seat of the Provincial Assembly of Sindh as an independent candidate from Constituency PS-29 (Khairpur-I) but was unsuccessful. He received 19 votes and lost the seat to Syed Qaim Ali Shah.[2]
He was elected to the National Assembly as a candidate of PML(F) from Constituency NA-216 (Khairpur-II) in a by-election held in January 2003. He received 128,783 votes and defeated Syed Ahmed Raza Shah Jeelani, a candidate of PPP.[3]
He ran for the seat of the National Assembly as a candidate of PML(F) from Constituency NA-215 (Khairpur-I) in the 2008 Pakistani general election but was unsuccessful. He received 34,014 votes and lost the seat to Nawab Ali Wassan, a candidate of PPP.[4]
On 26 December 2010, he re-joined PPP.[5]
He ran for the seat of the National Assembly as a candidate of PPP from Constituency NA-217 (Khairpur-III) in the 2013 Pakistani general election but was unsuccessful. He received 71,916 votes and lost the seat to Syed Kazim Ali Shah, a candidate of PML(F).[6]
He was re-elected to the National Assembly from NA-210 (Khairpur-III) as a candidate of PPP in the 2018 Pakistani general election. He received 90,830 votes and defeated Syed Kazim Ali Shah, a candidate of the Grand Democratic Alliance (GDA).[7][8]
He was re-elected to the National Assembly from NA-204 Khairpur-III as a candidate of PPP in the 2024 Pakistani general election. He received 113,022 votes and defeated Mozzam Ali Khan, a candidate of the GDA.[9]