He had traveled to Dar es Salaam to attend a court hearing for Tanzanian opposition leader Tundu Lissu, who is facing treason charges.