Following the landslide victory of the United Front coalition ( SLFP , Lanka Sama Samaja Party , and the Communist Party of Sri Lanka ) lead by Sirimavo Bandaranaike in the 1970 Ceylonese parliamentary election with a large majority , Senanayake resigned from the post of prime minister .