In Janata Dal
Gujral left the Indian National Congress party in the mid-1980s and joined the Janata Dal. The Dal was a third-party with mainly socialist leanings and regional bases. In the 1989 elections, Gujral was elected from the Jalandhar parliamentary constituency in Punjab. He served as Minister of External Affairs in Prime Minister V. P. Singh's cabinet. In 1989, Singh sent him to Srinagar to seal the deal with the kidnappers in the case of the 1989 kidnapping of Rubaiya Sayeed. The largest issue he had to deal with in this cabinet role was Iraq's invasion of Kuwait and the subsequent events that led to the first Gulf War of January 1991. As India's representative, he personally met with Saddam Hussein. His hug with Hussein during the meeting remains a matter of controversy. In the 1991 mid-term parliamentary elections, Gujral contested from Patna constituency in Bihar against Samajwadi Janata Party (Rashtriya) candidate and then-Finance Minister Yashwant Sinha. However, the election was countermanded following complaints of large-scale irregularities. In 1992, Gujral was elected to Rajya Sabha and remained a key Janata Dal leader.
After 1996 elections, when the United Front government was formed at the center under the premiership of H. D. Deve Gowda, Gujral was again named Minister of External Affairs. During this second tenure, he propounded his 'Gujral Doctrine', which called for better relations with neighbours. He also served as Union Minister or Minister of State of several other portfolios—Communications and Parliamentary Affairs, Information & Broadcasting, Works & Housing and Planning.
The Congress party was supporting the United Front government from outside, but decided to withdraw support, which led to its collapse in April 1997. To avoid mid-term elections, a compromise was reached. The Congress party agreed to support another United Front government under a new leader, provided its concerns—such as not being consulted before taking important decisions and being marginalized—were addressed. The United Front elected Gujral as their new leader and he was sworn in as Prime Minister on 21 April 1997.
Read more about this topic: I. K. Gujral