On 25 February 1936 he was elected to the 2nd State Council of Ceylon, representing Balangoda. Goonesekera defeated the sitting member, Col.T. G. Jayewardene, polling 14,539 votes to the latter's 10,360.[3] He was appointed to the Executive Committee for Home Affairs.[5][6]
In April 1943, the Bribery Commissioner found that Goonesekera, E. W. Abeygunasekera, Charles Batuwantudawe, D. D. Gunasekera and E. R. Tambimuttu had accepted bribes in the exercise of their duties as members of the Executive Committee for Home Affairs.[7][8] As a result Goonesekera resigned from the State Council on 25 May 1943.[2] At the subsequent by-election held in October that year, Sir Francis Molamure was elected.
^Ferguson's Ceylon Directory. Colombo: The Ceylon Observer Press. 1917. p. 53.
^The Dominions Office and Colonial Office List Comprising Historical and Statistical Information Respecting the Overseas Dominions and Colonial Dependencies of Great Britain. Colonial Office. 1940. p. 284.
^Ferguson's Ceylon Directory. Colombo: The Ceylon Observer Press. 1942. p. 211.