Mahinda Rajapaksa resigned