'He literally opened the door to the violence': court judge told.