at the fourth legislative council election held on 27 september 1924 he was elected as an unofficial member of the legislative council of ceylon, representing the southern province east. he defeating g. k. w. perera, a barrister from colombo. perera won the initial vote but demanded a recount as he believed he had secured a greater majority of votes only to lose to wikramanayake by 17 votes.