Like many of his generation, Vajpayee _ who died today at age 93 _ came into politics as an 18-year old during the Independence movement in 1942 when the Quit India movement was going on.
A lifelong bachelor, Vajpayee was first elected to Lok Sabha in 1957 from Balrampur in Uttar Pradesh in India's second general elections. His maiden speech in Parliament so impressed his peers and colleagues that the then Prime Minister Jawaharlal Nehru introduced Vajpayee to a visiting foreign dignitary thus: "This young man one day will become the country's prime minister."
He remained a member of Parliament for 47 years -- elected 10 times to the Lok Sabha and twice to Rajya Sabha.
Vajpayee's signature in politics was achieving pragmatic consensus, and in this process he earned the respect of his party, allies and opponents. Abroad, he projected a harmonious image of India and connected it to the world through his foreign policy outreach.
Fluent in English, his oratory was at its best in Hindi. With his well-timed wit, and carefully-chosen words delivered with trademark long pauses, Vajpayee immediately connected with all those who came in contact with him -- the common man, politicians, bureaucrats, students and world leaders.
As foreign minister under the Janata Party government headed by Morarji Desai in 1977, Vajpayee was the first leader to deliver a speech to the United Nations General Assembly in Hindi.
He was awarded India's highest civilian award, the Bharat Ratna, in March 2015.
While his six years in office were defined by several crises _ including the hijacking of an Indian Airlines jetliner to Kandahar, Afghanistan in 1999, an attack on the Parliament building in 2001, communal riots in Gujarat in 2002 _ he also left a mark with peace initiatives and infrastructural projects. Chief among them is the Golden Quadrilateral Highway network, connecting India's four major metropolises with 5,846 kilometers of roads.
During his second term as prime minister, Vajpayee ordered nuclear tests in May 1998 in a strategic masterstroke to blunt Pakistan's nuclear ambitions while at the same time announcing a moratorium on future testing. He followed this up with peace overtures to Pakistan, riding on the first direct bus from India to Pakistan in February 1999.
Undeterred by party hawks, Vajpayee arrived in Lahore on the bus, accompanied among others by legendary actor Dev Anand. Vajpayee met with then Prime Minister Nawaz Sharif in what was hailed as the dawn of a new era in India-Pakistan relations.
However, then army chief Gen. Pervez Musharraf did not turn up to greet him at the Wagah border. It soon became clear why.
Only months later, in June 1999, Pakistan began hostilities in Kargil that took the two countries to the brink of a full-scale war. Vajpayee felt betrayed and never hid his bitterness whenever Kargil was mentioned. He tried again to build peace with Pakistan -- which people close to him say was the mission of his life -- by holding a historic summit in Agra with Musharraf in 2001, who by then had become the president. But the summit too failed spectacularly.
Another historic event that he expressed anguish about was the post-Godhra communal riots in Gujarat in 2002 when Prime minister Narendra Modi was the chief minister.
Unwilling to hide his feelings over the riots, Prime Minister Vajpayee said the government must follow "raj dharma". In his autobiography, former President Pranab Mukherjee wrote that the Gujarat riots were "possibly the biggest blot" on Vajpayee's government that could have cost the Bharatiya Janata Party the 2004 Lok Sabha elections.
After the NDA was routed in the elections, Vajpayee announced his retirement from politics in 2005 and slipped into relative political oblivion. He was rarely seen in public after suffering a stroke in 2009, and subsequently developed dementia. However, his influence loomed large over the party, which often quoted him and his policies.
In his Independence Day speech yesterday, Modi said he wants to resolve the Kashmir issue through Vajpayee's doctrine of "Insaniyat, Kashmiriyat, Jamhooriyat", which seeks to preserve the composite Kashmiri culture while ensuring democracy in a humane manner.
When he assumed office for the second time in 1999 as the head of a more stable coalition, Vajpayee had to abandon some of the cornerstones of BJP's policies to get the backing of more secular groups. This included the BJP's demands for scrapping the special status for Jammu and Kashmir, building a Hindu temple on the site of the Babri mosque in Ayodhya and abolishing the separate civil code for Muslims.
The demolition of Babri Masjid by kar sewaks in December 1992, when he was the Leader of Opposition in Lok Sabha, was an acid test for Vajpayee's secular agenda and his stand within the party. Vajpayee's trusted lieutenant L K Advani and most BJP politicians supported the demolition but Vajpayee condemned the attack unequivocally.
At times he tried to appeal to Muslims and other minority groups, and was seen as a reassuring figure for India's mainly secular establishment.
His personal integrity was never seriously questioned but arms bribery scandals exposed corruption in his government and at times cast doubts on his judgment.
A romantic at heart, Vajpayee wrote poetry in his spare time, and was a connoisseur of good food.
Vajpayee was born on December 25, 1924 in Gwalior, Madhya Pradesh to a schoolteacher, Krishna Bihari Vajpayee, and Krishna Devi. Today, his birthday is celebrated as Good Governance Day'.
After schooling, he graduated from Victoria College in Gwalior, now known as Laxmi Bai College. He did his M.A. in political science from DAV College in Kanpur. Following a brief flirtation with communism, he became a full-time worker of RSS in 1947.
Vajpayee subsequently entered journalism and was editor of Rashtradharma, a Hindi monthly, the Panchjanya Hindi weekly and the dailies, Swadesh and Veer Arjun.
He became a close follower of Syama Prasad Mookerjee, the founder of the Bharatiya Jana Sangh, the precursor to Jana Sangh and later the BJP. Under Mookerjee's tutelage, Vajpayee's right-wing philosophy shaped.
Vajpayee accompanied Mookerjee to Kashmir in early 1950s during the BJS leader's fast-unto-death to protest the identity card requirement for Indian citizens visiting the state. It was Vajpayee's first insight into the Kashmir problem, which decades later he addressed in 2003 with the "Insaniyat, Kashmiriyat, Jamhooriyat" doctrine.
Vajpayee is survived by his adopted daughter, Namita Kaul Bhattacharya.