Nyerere used political repression against opponents. His attempt at using his socialist ideas of Ujamaa failed. This made Tanzania very poor and caused widespread starvation. He led the overthrow of Idi Amin's regime in Uganda.