A senior member of Sri Lanka's government announced Friday he was quitting the ruling party to stand as the main opposition's candidate against President Mahinda Rajapakse in upcoming elections.