Tanzania's electoral commission has released results showing that five Cabinet members from the ruling party have lost their parliamentary seats.

They lost to candidates representing an opposition alliance that includes Chadema, the main opposition party.

Partial results of the presidential election are trickling in and full results are expected Thursday.

The presidential race is the most tightly contested since Tanzania became independent in 1961. The ruling party is challenged by a former member who was recently the country's prime minister.

Tensions are rising between rival supporters on Tanzania's mainland and on the semi-autonomous island archipelago of Zanzibar, where there was also voting Sunday.

Suleiman Kova, a police commander in Dar es Salaam, said 166 people are being held on allegations they published unofficial poll results on social media.