A teenager appeared at Limavady Magistrates Court last week charged with attacking a woman earlier this month.
Reece Howarth, from Mountview Drive in Ballymoney, is accused of carrying out the attack on February 1.
When the 19-year-old appeared at the local court on Wednesday, a police officer said she believed she could connect the accused to the charge.
Howarth was released on police bail of £350.
He is due back in court on April 1.
Subscribe or register today to discover more from DonegalLive.ie
Buy the e-paper of the Donegal Democrat, Donegal People's Press, Donegal Post and Inish Times here for instant access to Donegal's premier news titles.
Keep up with the latest news from Donegal with our daily newsletter featuring the most important stories of the day delivered to your inbox every evening at 5pm.