Kenan Basic has been cleared of stalking and indecent assault charges.

A good Samaritan, who spent a week in a maximum-security jail after he was accused of indecently assaulting a teenage girl, plans to sue her and the police after he was cleared of all charges.

Kenan Basic, 36, lost his job, was served with divorce papers from his wife and spent a week in Silverwater Jail in Sydney’s west after he was accused of the horrific crime on November 22 last year.

Caitlyn Gray, now 20, pleaded guilty to making up the entire ordeal to police in Bankstown Local Court yesterday. She will be sentenced for the ongoing “deception” on June 25 after her lawyer obtains a psychological report.

Gray stuck by her made-up story — involving claims Mr Basic stalked her, asked for sexual favours and groped her vagina and breasts — until November 29.

Mr Basic had been in jail since November 23 after he was arrested by police and refused bail. Police worked through the night on November 29 to make sure Mr Basic was released from jail the next day. He was cleared of all charges earlier this month.

Now, according to 7 News, Mr Basic plans to sue Gray for $1 million in damages and is also launching legal action against NSW Police.

It’s understood Mr Basic wants NSW Police to pay the $15,000 he spent on legal fees to fight the false charges.

In court documents seen by news.com.au, police slammed Gray’s ongoing “deception” and said her lies were extremely serious.

“Investigators strongly believe the lies Gray provided to police are of the high end of the serious nature,” court documents read.

“Gray had multiple occasions to inform investigators that she had lied however chose to ignore this and continued her deception.”

RELATED: Police slam Caitlyn Gray’s ‘continued deception’

Gray eventually admitted to lying after police asked her again and again if she made up the story.

The 20-year-old told police she “just wanted (Mr Basic) to go to jail”.

“He shouldn’t have said that to me. He was disgusting,” she added.

The documents did not explain what had been said to Ms Gray.

Mr Basic, a father to a little boy, said the ordeal had made him hesitant to help women.

“I always help people you know, all my life, and this is the first time the snake bit me,” Mr Basic told Nine.

“I feel happy because I got my freedom you know.”

Five days into Mr Basic’s terrifying jail term, on November 28, police again met with Gray and re-enacted the ordeal for a video camera.

Investigators painstakingly collected CCTV from the roads Gray claimed she was followed down.

But when they tried to find CCTV footage of the section of Milperra Rd where Gray claimed she was groped, detectives were unable to find anything.

Investigators could not find footage that showed Mr Basic assaulting Gray or the young woman lifting the bonnet of her car.

Immediately after police realised they had no CCTV to back up her claim, detectives called Gray and told her.

“Did the incident where the male grabbed your breast and vagina occur?” an investigator asked.

“Yes, I have no reason to lie,” Gray responded.

The investigator asked the same question again.

“Yes, I’m not lying. I have no reason to lie. He did grab me,” she replied.

Police asked Gray if she possibly mixed the streets up — considering the lack of CCTV footage — and read to her the entire Milperra Rd account. Again she was asked if it was definitely that section of road.

“I think so. It could have been somewhere else. I’m not lying. It happened. I have no reason to lie. I was yelling, telling my boyfriend. I’m not lying,” Gray responded.

Gray again spoke to police on November 29, at the request of investigators, at Bankstown Police Station.

Just after 5pm inside the station, investigators asked Gray if she was sure of her story.

“Are you sure. It’s OK if you have lied. I just need to know the truth,” the investigator said.

“I haven’t lied. It’s the truth,” she responded.

“Are you sure because a male is sitting in jail right now as a result of your allegations that he touched your breast and grabbed your vagina. Are you lying?” the investigator pushed.

“Yes,” Gray responded.

When asked again why she lied, Gray said she “didn’t want to get into trouble”.

“I didn’t know what to do,” she added, admitting, “I would have eventually come clean because I would have had a guilty conscience”.

Police then urgently worked into the late hours of November 29, calling senior police, lawyers and Parramatta court “informing them of Gray’s lies”, the statement of facts said.

An urgent bail application was scheduled for Mr Basic the next day when he was released from custody. He had been in jail since November.

“Investigators suggest if it wasn’t for the actions of investigators in identifying and viewing the CCTV footage which clearly depicts the lies by Gray, that there would have been a strong likelihood that Mr Basic would have remained bail refused until the completion of this matter as well as the strong likelihood that Mr Basic would have been convicted and faced a term of imprisonment as a result of his conviction,” the statement of facts read.

Mr Basic appeared via audiovisual link from Silverwater Prison in November and sobbed as Magistrate Elaine Truscott described him as a “predator”.

While in jail, Mr Basic, a Bosnian refugee whose father had been killed in the country’s civil war, was unable to help his pensioner mother who relied on him.