The General Election of 1977, which was the only one held under the Republican Constitution of 1972, saw the Sri Lanka Freedom Party facing an unprecedented defeat. The party went from enjoying a two-thirds majority to being the third largest party in Parliament winning eight seats. Mrs Bandaranaike won Attanagalla with a narrow margin.