Pratibha Patil was the President of India from 2007 to 2012, the first woman to hold this position. Manmohan Singh was Prime Minister during this period, Sonia Gandhi was the UPA chairperson, and Pranab Mukherjee became President after Pratibha Patil. The question appears to be asking who held the highest constitutional office when these names were relevant.