Now at the feast he used to release for them one prisoner for whom they asked. And among the rebels in prison, who had committed murder in the insurrection, there was a man called Barabbas. And the crowd came up and began to ask Pilate to do as he usually did for them. And he answered them, saying, "Do you want me to release for you the King of the Jews?" For he perceived that it was out of envy that the chief priests had delivered him up. But the chief priests stirred up the crowd to have him release for them Barabbas instead. And Pilate again said to them, "Then what shall I do with the man you call the King of the Jews?" And they cried out again, "Crucify him." And Pilate said to them, "Why, what evil has he done?" But they shouted all the more, "Crucify him." So Pilate, wishing to satisfy the crowd, released for them Barabbas, and having scourged Jesus, he delivered him to be crucified.
And the soldiers led him away inside the palace (that is, the governor's headquarters), and they called together the whole battalion. And they clothed him in a purple cloak, and twisting together a crown of thorns, they put it on him. And they began to salute him, "Hail, King of the Jews!" And they were striking his head with a reed and spitting on him and kneeling down in homage to him. And when they had mocked him, they stripped him of the purple cloak and put his own clothes on him. And they led him out to crucify him.
(Mark 15:1-20 ESV)