Pratibha Devisingh Patil is the daughter of Narayan Rao Patil. She was born on 19 December 1934 in the village of Nadgaon, in the Jalgaon district of Maharashtra, India. She was educated initially at R. R. Vidyalaya, Jalgaon, and subsequently was awarded a master's degree in Political Science and Economics by Mooljee Jetha College, Jalgaon (then under Pune University), and then a Bachelor of Law degree by Government Law College, Mumbai, affiliated to the University of Mumbai. Patil then began to practice law at the Jalgaon District Court, while also taking interest in social issues such as improving the conditions faced by Indian women.

Patil was announced as the United Progressive Alliance (UPA) candidate on 14 June 2007. She emerged as a compromise candidate after the left-wing parties of the alliance would not agree to the nomination of former Home Minister Shivraj Patil or Karan Singh. Patil had been loyal to the INC and the Nehru-Gandhi family for decades and this was considered to be a significant factor in her selection by INC leader Sonia Gandhi, although Patil said that she had no intention of being a "rubber-stamp president".  In the same month that she was selected, Patil was accused of shielding her brother, G. N. Patil, in the 2005 Vishram Patil murder case. Vishram Patil had narrowly defeated G. N. Patil in an election to be the President of the District Congress Committee of Jalgaon and in September of that year had been murdered. Vishram Patil's widow eventually accused G. N. Patil of involvement in the crime and claimed that Pratibha Patil had influenced the criminal investigation and that the issue needed to be examined before presidential immunity became active. Her accusations were rejected by the courts in 2009 but in 2015 G. N. Patil was charged. No reference to the alleged involvement of Pratibha Patil was made at this time.  Due to the presidential role being largely a figurehead position, the selection of candidate is often arranged by consensus among the various political parties and the candidate runs unopposed. Contrary to the normal pattern of events, Patil faced a challenge in the election. The BBC described the situation as "the latest casualty of the country's increasingly partisan politics and [it] highlights what is widely seen as an acute crisis of leadership". It "degenerated into unseemly mud slinging between the ruling party and the opposition". Her challenger was Bhairon Singh Shekhawat, the incumbent vice-president and a Bharatiya Janata Party (BJP) veteran. Shekhawat stood as an independent candidate and was supported by the National Democratic Alliance (NDA), a group led by the BJP, although the Shiv Sena party, which was a part of NDA, supported her because of her Marathi origin.  Those opposed to Patil becoming president claimed that she lacked charisma, experience and ability. They also highlighted her time spent away from high-level politics and queried her belief in the supernatural, such as her claim to have received a message from Dada Lekhraj, a dead guru. Various specific issues were raised, such as a comment made by her in 1975 that those suffering from hereditary diseases should be sterilised. Another alleged that while a Member of Parliament for Amravati she diverted Rs 3.6 million from her MPLADS fund to a trust run by her husband. This was in violation of Government rules which barred MPs from providing funds to organisations run by their relatives. The parliamentary affairs minister denied any wrongdoing on Patil's part, and noted that the funds utilized under MPLADS are audited by the Comptroller and Auditor General of India.  Patil won the election held on 19 July 2007. She garnered nearly two-thirds of the votes and took office as India's first woman president on 25 July 2007. Answer this question using a quote from the following article:

Did he run into any troubles while running for election?
she had no intention of being a "rubber-stamp president".