If you're traveling to Tanzania, be extremely careful of your interaction with people and the police.
I recently traveled to Dar es Salaam from North America on a vacation, which turned out to be nightmare. I was involved in an argument with a local man that led to the police being called. I ended up being charged for "verbal abuse" which is a criminal offense in Tanzania.
The corruption and bribery is insane and lawyers are very expensive. Apparently, there are quite a number of foreigners who end up in jail with similar cases because they don’t have a lawyer and anyone to bail them out.
It was quite disappointing to learn that my embassy was useless/incompetent in responding to the situation.