A polling station in Huddersfield was temporarily closed after a man was stabbed nearby, police said.
The man was found collapsed with a stab wound in the Waverley Road area of the town at 5.15pm.
West Yorkshire Police said the polling station on the same road was closed for half an hour to contain the crime scene but the stabbing was not linked to the EU referendum.
A force spokesman said the victim is believed to have suffered serious, but not life-threatening, injuries.
A 19-year-old man has been arrested in connection with the incident.
The police spokesman said: “This incident is not linked to the European referendum. It is believed the incident took place in Greenhead Park and the victim has then walked to the Waverley Road area.
“The polling station was closed for half-an-hour to contain a crime scene but is now open again.”
Kirklees Council said voters could now return to the polling station.
In a tweet, the council said: “The polling station at Waverley Road, Hudds, has now reopened. Anyone who could not vote in the 30 minute closure can return up to 10pm.”
Police are appealing for anyone who has information about the incident to contact police on 101 quoting log 1338 of Thursday 23 June.