Bose resigned, and Rajendra Prasad was elected president.