Ajit Pramod Kumar Jogi, the first chief minister of Chhattisgarh, was known in the political circles as someone who never gave up despite defeats, controversies and debilitating health issues.
Mr Jogi, 74, who died at a private hospital in Raipur on Friday, was the quintessential politician who enjoyed the support of the tribal and scheduled caste communities because of his easy accessibility.
Born into a family of modest means in the Pendra Road area of then Bilaspur district, Ajit Jogi earned his engineering degree with a gold medal from a university in Ujjain in 1964.
He went on to qualify first for the Indian Police Service and then the Indian Administrative Service.
After serving as a collector for 12 years in various districts, including Indore and Raipur, Mr Jogi resigned in 1986 and joined the Congress. The party sent him to the Rajya Sabha for two terms - 1986-92 and 1992-98.
His rise in politics was meteoric, and he became the first chief minister of the newly formed Chhattisgarh state in November 2000, trumping rivals such as Congress stalwart Vidyacharan Shukla.
As chief minister, he was credited with setting up a state-of-the-art heart hospital in Raipur under the Public-Private-Partnership mode.
Mr Jogi focused on improving the health infrastructure in the tribal-dominated backward state and also laid the foundation stone of the new capital city near the Abhanpur area of Raipur.
His ambitious "Jogi Dabri scheme" to develop small water sources won praise, but was later marred by corruption allegations.
He was accused of splitting the opposition after 12 BJP MLAs joined the ruling Congress in 2002.
Ajit Jogi succeeded in sidelining Vidyacharan Shukla, who was seeking to become Rajya Sabha MP in 2002. Mr Shukla then joined Sharad Pawar's Nationalist Congress Party.
In January 2003, Mr Jogi faced a major political setback when he and his son Amit were named as suspects in the murder of Ram Avtar Jaggi, then treasurer of the state NCP. Amit Jogi was arrested but was later acquitted by the trial court.
The BJP cashed in on the issue during the Assembly elections held towards the end of 2003, in which the Congress suffered a humiliating defeat.
After coming to power, the BJP released an audio tape which purportedly suggested that Ajit Jogi had tried to bribe BJP MLAs in an attempt to engineer a split.
He was suspended from the party, but a few months later the Congress fielded him against Vidyacharan Shukla who was contesting on BJP ticket in the 2004 Lok Sabha election from Mahasamund.
During the campaign, Ajit Jogi met with a road accident and was left permanently confined to a wheelchair. But he defeated Vidyacharan Shukla.
During the 15-year-long tenure of Raman Singh that followed 2003 assembly polls, Mr Jogi was often dubbed as "Team B" of the BJP for his perceived closeness to the ruling party.
When the Congress lost a third Assembly election in a row in 2013, the party made Bhupesh Baghel the state unit chief despite the fact that he did not share any bonhomie with Ajit Jogi.
Isolated, Mr Jogi quit the Congress in 2016 after he and his son were accused of being involved in an alleged fixing of the by-election to the Antagarh Assembly seat in 2014.
After the scandal broke in 2015, Bhupesh Baghel expelled Amit Jogi from the Congress. In June 2016, Ajit Jogi formed the Janata Congress Chhattisgarh (JCC).
Ahead of the 2018 assembly elections, Mr Jogi sprang a surprise by forming an alliance with Mayawati-led Bahujan Samaj Party. It was expected that the alliance will play the role of a kingmaker.
But the Congress won a landslide by bagging 68 out of 90 seats. Jogi-Mayawati combine won only seven seats.
Ajit Jogi himself managed to win his traditional Marwahi seat, banking on his charisma.
Mr Jogi's status as the member of a tribal community had been the subject of controversy since he entered politics.
After he became chief minister, BJP leader Sant Kumar Netam had complained to the National Commission for Scheduled Castes and Scheduled Tribes that his claim of belonging to a Scheduled Tribe was based on forged documents.
With the Congress' return to power, he and his family members faced several fresh allegations with regard to Antagarh bypoll and the caste status issue.
Though sidelined in the state's politics, the four-time MLA never lost his sharp sense of humor, especially while targeting his opponents. His political legacy is now expected to be carried on by his son and JCC chief Amit Jogi.