A woman whose lies put a man behind bars for two weeks, and cost him his job and marriage, has had her sentencing delayed after penning an apology letter to her victim.

Caitlyn Gray, 20, falsely accused Good Samaritan Kenan Basic of indecent assault after he spent hours helping to get her car back on the road.

Watch the video above

In Bankstown Local Court on Tuesday, Gray handed in a written apology to the magistrate among numerous other documents.

Caitlyn Gray arrives at Bankstown Local Court. Credit: 7NEWS

Gray had pulled into a Sydney BP in November 2018 after she smashed her car.

Basic, from Bankstown, offered to help with the damage.

Security vision shows him attending to her vehicle for almost two hours.

Gray then told police Basic had allegedly propositioned her for sex in return for his help before he pursued her in the car and later indecently assaulted her at a different location.

At the time, police described Basic's alleged behaviour as "predatory".

CCTV captures Kenan Basic hugging Caitlyn Gray at BP. Credit: 7NEWS

He was charged with numerous offences including indecent assault and put behind bars after being refused bail.

But Basic always claimed he was innocent and on May 6 the charges against him were thrown out in court after Gray admitted to making it all up.

Basic spent two weeks in a maximum security jail and lost his job and marriage as a result of the false allegations.

RELATED: Good Samaritan vindicated after indecent assault charges thrown out in court

Gray was charged with contempt of court, fabricating evidence and lying to police.

In court on Tuesday, Magistrate Glenn Walsh ordered a full sentencing assessment report to be submitted and adjourned the matter.

Basic previously told 7NEWS he plans to sue Gray for up to $1 million in damages.