The president admitted the ruling party had made mistakes in the past 30 years, but said it had also done a lot of good