 He was a founding member of the United National Party (UNP) entering politics in 1928, two years after he passed out as a lawyer.In 1927 Cooray became a village committee member for Maggona and Payagala.He then contested and was successfully elected onto the Kalutara Urban Council, a position he retained for thirty years.