Its government lasted just over three years .
Following public discontent with the state of emergency she declared in 1975 , the Congress was voted out of power in 1977 ; the then - new Janata Party , which had opposed the emergency , was voted in .
Congress ' government lasted just over three years .
Following public discontent with the state of emergency she declared in 1975 , the Congress was voted out of power in 1977 ; the then - new Janata Party , which had opposed the emergency , was voted in .