A convicted sex offender who choked, bound and raped a seven-year-old girl in a Kogarah dance studio kept a collection of pornography featuring similar depraved acts.

Key points: A statement of agreed facts details how Anthony Sampieri was bashed and disarmed after raping a girl in a toilet cubicle

A statement of agreed facts details how Anthony Sampieri was bashed and disarmed after raping a girl in a toilet cubicle The man who found Sampieri was slashed across the back of his head during a frantic struggle

The man who found Sampieri was slashed across the back of his head during a frantic struggle Sampieri has also pleaded guilty to charges relating to 94 obscene phone calls

Anthony Sampieri told police he was "so high" after injecting meth and "sexually charged" when he attacked the seven-year-old in a toilet cubicle of the Kogarah studio in November last year.

A statement of agreed facts, made public after a suppression order was lifted, has revealed the details of Sampieri's crimes and how the girl's rescuers bashed and disarmed him during a frantic struggle.

Sampieri, who was on parole at the time of the rape, has pleaded guilty to 10 offences arising from the 40-minute ordeal and other charges relating to obscene phone calls which could have landed him in jail in the lead-up.

GRAPHIC CONTENT WARNING: This story contains details that may disturb some readers.

According to the statement of facts, the 55-year-old had spent at least an hour and 20 minutes watching pornography on his phone and masturbating in the male and female toilets of the building.

The victim had been waiting for her sister to finish a dance class when she went to use the toilet and Sampieri grabbed her, shoved her into a cubicle and produced a knife.

According to the facts, Sampieri then tied a black cord around the girl's neck and used it to drag her into the male toilets where he raped her at knife point, filming the attack on his phone.

He told police he then tied her wrists and ankles to give himself time to get away.

Police lead Sampieri from the dance studio after the attack last year. ( ABC News )

The victim's mother, a dentist working nearby and Nick Gilio, a diesel mechanic, were among those searching for the victim.

When the dentist, Jeffrey Stack, first searched the male toilets Sampieri told the victim that if she made a noise he would "cut her neck off".

Soon after, Sampieri was attempting to leave the toilets when Mr Gilio found the victim and, realising who was responsible, he grabbed Sampieri by the head and rammed him into a wall.

"Is this what you do c***? Is this what you f***ing do, c***?" Mr Gilio yelled, according to the statement.

Sampieri then produced the knife and during a frantic struggle, Mr Gilio was stabbed several times.

While the two were on the floor, Sampieri reached across the back of Mr Gilio's neck and slashed him from one ear to the other.

The rapist "went limp" when he was punched at least twice by Mr Stack, the documents say.

Bleeding, Mr Gilio ran out of the toilets to ask someone to call the police, but returned to kick Sampieri in the head before receiving first aid.

The offender was found with a pool of blood under his head and his eyes were so swollen they were "almost closed".

Mr Gilio was stabbed while rescuing the young girl. ( ABC News: Nick Dole )

Police later raided Sampieri's Kogarah unit, which he shared with his mother.

His pornographic video collection included films which depicted an adult woman "dressed in a school uniform with her wrists and ankles tied", along with acts of choking.

Sampieri has also pleaded guilty to charges relating to 94 obscene phone calls he made to women in the lead-up to the rape.

According to court documents, these were made to real estate agents, marriage celebrants, receptionists, hairdressers and psychologists — sometimes from a private number and others from his own mobile number.

Sampieri detailed lurid sexual acts to the women and spoke about wanting to meet them.

According to Police Commissioner Mick Fuller, Sampieri would have been in jail if he had been charged over the phone calls.

A police officer who interviewed the rapist one month before his attack is now facing allegations he neglected his duties and will return to court later this month

Mr Gilio stared Sampieri down during a sentencing hearing on Thursday, telling the sex offender that he deserved a life of "pain, darkness and misery" for his crimes.

Sampieri hung his head in the dock.

He will return to court next month.