Rajapaksha previously served as the Head of Social Media at the Presidential Secretariat until June 2020.