A 25-year-old man and a 17-year-old boy have appeared in court charged with attempted murder and kidnap in connection with a woman left abandoned in woods.
The pair appeared before Huddersfield magistrates' court and were remanded in custody to appear before Bradford Crown Court on 6 June.
They were arrested after a 27-year-old woman was found near Woodsome Hall Golf Club, Huddersfield, on Saturday night.
Police have appealed for witnesses.
The 25-year-old man has also been charged with possession of an electric stun gun.
Another man, aged 49, and a 46-year-old woman have been released on bail pending further inquiries.
West Yorkshire Police have said they believed the woman might have been taken from an address in Penistone Road, Huddersfield, after 2300 BST on Saturday.
The woman received minor injuries and has received medical treatment.