After interrogating Jesus, Pilate could find no guilt in Him, but the Jewish leaders were persistent in having Jesus condemned. They said that Jesus was misleading their nation and forbid them to pay tribute to Caesar, which was false.
The chief priests and the crowds said, He says that "He Himself is Christ, a king...He stirs up the people, teaching throughout all Judea from Galilee even to this place." Pilate asked Jesus if He was King of the Jews. Jesus answered, "You have said so." Pilate gave up. He gladly passed the problem of Jesus on to Herod after finding out Jesus was from Herod's Jurisdiction.
Herod was more than pleased to meet Jesus after hearing so much about Him. He was hopeful Jesus would perform some miracle or sign for him. He questioned Jesus for some time, yet Jesus did nothing to amuse him and would not even answer him.
The chief priests and scribes stood by all the while accusing Jesus. Disgusted with Jesus and His lack of cooperation, Herod and his soldiers entertained themselves by dressing Jesus up in a royal clothes. He then sent Jesus back to Pilate. Perhaps Pilate was quite amused by Herod's antics because Pilate and Herod who didn't like each other before became friends after this event.