Many Tanzanians have condemned President John Magufuli's comments that schoolgirls who give birth should not be allowed to return to school.
An online petition has been set up to get the president to reverse his comments.
Mr Magufuli warned schoolgirls at a rally on Monday that: "After getting pregnant, you are done."
A law passed in 2002 allows for expulsion of pregnant schoolgirls.
The law says the girls can be expelled and excluded from school for "offences against morality" and "wedlock".
Africa live latest updates
After calculating some few mathematics, she'd be asking the teacher in the classroom: 'Let me go out and breastfeed my crying baby
John Magufuli, Tanzanian president
The online petition says that the president's support for the expulsion law would end the education of many girls and "propagate more discrimination".
It instead calls for the girls to be protected from early pregnancies while in school.
Tanzanians are also using the hashtag #ArudiShule (let her return) on Twitter to criticise the president's comments and to highlight the plight of young women who get pregnant while in school.
Two weeks ago, Tanzania's Vice-President Samia Suluhu called for young mothers to be readmitted school, saying they should not be denied a right to education.
More from BBC
Date
Published : Friday, June 23, 2017