President accepts CJ’s resignation