NEW DELHI — A 10-year-old Indian girl who was raped by an uncle, and then lost her legal battle to have an abortion, gave birth on Thursday to a girl.

The girl, who was under general anesthesia while the baby was delivered by cesarean section, had not been told that she was pregnant and had no idea that she had given birth, doctors said. She was told instead that she had a kidney stone that needed to be removed.

The baby was premature and weighed a bit more than five pounds. She was placed in an intensive care unit and will ultimately be put up for adoption.

“Neither the girl nor her family even saw the child,” said Dr. Dasari Harish, head of the team that performed the surgery, adding that the family wanted nothing to do with the newborn.