Then the soldiers led Jesus into the courtyard of Pilate’s headquarters, summoning the entire regiment to join them. They put a royal purple robe on him and made a crown for him by twisting together thorny vines and put it on his head. They placed a reed in his right hand to serve as a scepter. They kept coming up to him and mocking him by kneeling down before him or saluting him and saying “Hail, King of the Jews!” Then they took the reed from his hand and began to repeatedly beat him on the head with it. They were also slapping his face and spitting on him. Then they stripped the purple robe off, put his own clothes back on him, and then led him out to be crucified.
MT 27:27-31, MK 15:16-20, JN 19:1-3
When Pilate heard the people say the word “Galilee,” he asked if Jesus was a Galilean. They said he was, so Pilate sent him to Herod Antipas because that was his jurisdiction and Herod happened to be in Jerusalem then.
Herod was thrilled to see Jesus. He had heard a lot about him and had wanted to see him for a long time. He hoped to see him perform a miracle. He kept asking Jesus questions but he would not answer. The chief priests and scribes stood there, angrily accusing Jesus.
Then Herod and his soldiers began to treat Jesus with contempt by mocking him and dressing him in a purple robe.
Herod sent Jesus back to Pilate that same day. Herod and Pilate became friends with each other from that point – previously they had been enemies.