Police say a family in southern Italy kept a woman locked in a room in their house for 18 years because they were angry she was pregnant out of wedlock.

Police say they freed the woman, now 47, on Friday in Santa Maria Capua Vetere. The ANSA news agency said she was taken to hospital for psychiatric care.

Police said they arrested her brother and sister, and put her 80-year-old mother under house arrest. ANSA says police received an anonymous tip.

Italian TV showed the room with a bed, chair, filthy toilet and sink.

Police said the woman's child, now 17, was living with relatives and didn't know about his mother.