The High Court in the Malawi capital Lilongwe granted the singer, 49, permanent adoption order for the 2-year-old toddler on Wednesday. In his one-hour ruling, Justice Andrew Nyirenda said he is satisfied that Madonna and her British filmmaker husband Guy Ritchie "are perfect parents" for the toddler.
"I have examined the two reports by the guardian and I am satisfied David has found a good home," he said.
Nyirenda said by his ruling, David's biological father, Yohane Banda, forfeits all rights to the toddler.
"I am glad this is over now. I am happy for David," his father said Wednesday. Banda, 33, who ekes out a living growing maize, tomato and onions, said his family will meet and plan a celebration.
Malawian lawyer Alan Chinula said that Madonna was "over the moon" when he told her about the success of her adoption Wednesday.
"She told me she was anxiously waiting for the news," he said. "She is relieved and thanks the people of Malawi for allowing them to be family."