Original sentence: She came back and got custody for two years, but the court returned the girl to her grandparents when she was 12 and her father has been in and out of jail during her childhood.Therefore she lived with her grandparents
Edited sentence: She came back and got custody for two years, but the court returned the girl to her grandparents when she was 12, as her father has been in and out of jail during her childhood.Therefore, she was raised by her grandparents