A sentence of eight years was imposed yesterday on the man who carried out a head-butt assault on a man in Cork city centre in an unprovoked attack which the judge described as vicious, cowardly and one which probably had “some element of racism.”