A teenager was due to appear in court on Monday in connection with an alleged serious sexual assault in Dunfermline.
The 17-year-old man was arrested following an alleged incident involving an 18-year-old woman in Pilmuir Street the early hours of Saturday.
He was expected to appear in private at Dunfermline Sheriff Court however was liberated from custody.
A Crown Office spokesman said: “The Procurator Fiscal received a report concerning a 17-year-old man in connection with an alleged incident said to have occurred on October 29 2016.”
“After full and careful consideration of the facts and circumstances of the case, he was liberated from custody pending further inquiries and did not appear in court.”
“The case against him remains live and under consideration.”