A Dunedin man carried out an unprovoked racist attack while claiming to be a gang member, a court has heard.
Joshua Michael Dolan appeared in the Dunedin District Court yesterday by video link from prison, where he had spent the past six weeks.
When police dropped a charge of threatening behaviour and downgraded the allegation of violence, the teenager pleaded guilty to assault.
Judge Peter Rollo said there was an "obvious racial basis" to the attack on June 14.
Dolan was driving in central Dunedin's Moray Pl when he noticed the 23-year-old victim, a New Zealand resident of Indian ethnicity, who was walking home after dinner.