President pledges to continue work for democracy