A man who was arrested following a report of rape close to the Batley Frontier has been released without charge.
Police said the 35-year-old has been referred to Immigration Enforcement for further matters.
The attack is believed to have happened in Bradford Road, close to the Frontier nightclub at about 5am on Saturday morning.
The victim, a 23-year-old woman, is currently being supported by specially trained officers and enquiries are continuing.
Anyone who was in the area at the time or who saw anything suspicious is asked to contact DS Lecomber at Kirklees CID on 01484 436680.