 In June 1975, Indira was found guilty and barred by High Court from holding public office for six years.In response, an ungracious Emergency was declared under the pretext of national security.The next election's result was that India's first-ever coalition government was formed at the national level under the Prime Ministership of Morarji Desai, which was also the first non-Congress national government, which existed from 24 March 1977 to 15 July 1979, headed by the Janata Party, an amalgam of political parties opposed to Emergency imposed between 1975 and 1977.