The man initially denied the offence.