He had lived on the streets for eight months, surviving on scraps and whatever he could find, before being discovered by Anja Ringgren Lovén, the Danish founder of the African Children's Aid Education and Development Foundation.
After two days of care, she wrote that his condition had greatly improved.
“He’s taking food for himself, and he responds to the medicine he gets," she wrote in a blog post. "Today he has had powers to sit up and smiling at us. He’s a strong little boy. To see him sit and play with my own son is without doubt the greatest experience of my life! I just don’t know how to describe it in words.”
She added that she had named the boy Hope (a word she has tattooed on her knuckles).
Ms Loven set up her charity three years ago to help children accused of being witches. She said it was problem with wide-reaching effects.
“Thousands of children are being accused of being witches and we've both seen torture of children, dead children and frightened children,” she wrote in a Facebook post accompanying the pictures of Hope.
“This footage shows why I fight. Why I sold everything I own.”
She said that Hope was battling worms but added that he would soon be well enough to join the other children she looks after in Uyo, southern Nigeria.