A nine-year-old girl’s father has been arrested after she was caught looking up porn at school to learn about what her dad did to her “all the time at night.”

Anthony Garay, a 31-year-old from San Antonio, Texas, was arrested after his daughter was caught viewing porn on an Elm Creek Elementary School iPad. The young girl told staff at her school that her father didn’t let her sleep at night and that he frequently molested her.

Mr Garay is being held in jail with a $75,000 on charges of continuous sexual abuse of a child. He had previously been investigated by child protection services for abusing the nine-year-old and her sister. The alleged crime is a first-degree felony in Texas, one of the most serious in the Texas penal system, and carries with it a minimum sentence of 25 years in prison and a maximum or a maximum of 99 years to life in prison.

His arrest affidavit alleges that he had been sexually abusing her for at least a year, starting when she was eight.

Child Protective Services were contacted by the school once she had explained why she was browsing through pornography, and an investigator came to interview her. The abuses all occurred while she was at home, she told the investigator.