A 26-year-old man was taken to hospital after the incident in Edinburgh last night.