The Gambia and Tanzania have banned child marriage, with tough penalties for those who breach the rulings.
Gambia's President Yayha Jammeh announced that anyone marrying a girl below 18 would be jailed for up to 20 years.
In Tanzania, the high court imposed a landmark ruling outlawing marriage under the age of 18 for boys and girls.
Some 30% of underage girls are married in The Gambia, while in Tanzania the rate is 37%.
Before the Tanzania ruling, girls as young as 14 could marry with parental consent, while it was 18 for boys.
The BBC's Tulanana Bohela in Dar es Salaam says this is a big win for child rights groups and activists, who will now have an easier time rescuing girls from child marriage.
The case was brought by lobby group Msichana Initiative.
Gambia's President speaking at the Eid-ul-Fitr celebrations at the end of Ramadan, said parents and imams who perform the ceremonies would also face prison.
"If you want to know whether what I am saying is true or not, try it tomorrow and see," he warned.
Women's rights campaigners have welcomed the ban, however some say that it would be better to engage with local communities to try to change attitudes towards child marriage instead of threatening families with prison sentences,
"I don't think locking parents up is the answer... it could lead to a major backlash and sabotage the ban," Isatou Jeng of the women's rights organisation Girls Agenda told the Thomson Reuters Foundation by phone from the Gambian capital, Banjul.
In December last year, Mr Jammeh also outlawed female genital mutilation (FGM), with a prison sentence of up to three years for those that ignored the ban.
He said the practice had no place in Islam or in modern society.
Three-quarters of women in the mostly Muslim country have had the procedure, according to Unicef.
Latest Stories
-
Reason for training professional counsellors is to heal a hurting world – CCP president
56 mins -
Woman allegedly brings dead man to bank to take out a loan
1 hour -
It’s a good feeling to score against PSG because I’m a Marseille boy – Andre Ayew
1 hour -
Joe Lartey Sr: A voice that brought life to Ghana sports and beyond
2 hours -
Bawumia promises to tackle issue most dear to Ghanaians as he begins nationwide campaign
3 hours -
Indian couple donate $24m fortune to charity to adopt monkhood
3 hours -
Australians call for tougher laws on violence against women after killings
4 hours -
African Development Council establishes mission in Benin for Francophone countries
4 hours -
Okyeame Kwame reveals his secret to longevity in music industry
4 hours -
Youthful-looking 60-year-old woman qualifies for Miss Argentina contest
4 hours -
Ejisu By-Election: Campaign heats up as NPP holds final rally ahead of Polls on Tuesday
4 hours -
Rwanda plan: Irish government wants to send asylum seekers back to UK
5 hours -
Ice cubes now cost more than bread and milk in parts of Mali
6 hours -
Titanic gold pocket watch sells for £900,000
7 hours -
Elon Musk in China to discuss enabling full self driving – reports
7 hours