He was the 24th Chief Election Commissioner of Pakistan on 14 July 2012 and resigned on 31 July 2013. From 1989 through 1990, he was the 18th Governor of Sindh Province. Before, he was the 2nd Attorney General of Pakistan from 1971 through 1977. 