“Then the detachment of troops and the captain and the officers of the Jews arrested Jesus and bound Him. And they led Him away to Annas first, for he was the father-in-law of Caiaphas who was high priest that year. Now it was Caiaphas who gave counsel to the Jews that it was expedient that one man should die for the people.” John 18:12-14.
“But you have a custom that I should release someone to you at the Passover. Do you therefore want me to release to you the King of the Jews? Then they all cried again, saying, ‘Not this Man but Barabbas!’ Now Barabbas was a robber.” John 18:39-40.
These verses have been added for context. Barabbas, by the way, was not just a robber but an insurrectionist and a murderer.
“So then Pilate took Jesus and scourged Him. And the soldiers twisted a crown of thorns and put it on His head, and they put on Him a purple robe. Then they said, ‘Hail, King of the Jews!’ and they struck Him with their hands. Pilate then went out again, and said to them, ‘Behold, I am bringing Him out to you, that you may know that I find no fault in Him.’” John 19:1-4.
“The next day a great multitude that had come to the feast, when they heard that Jesus was coming to Jerusalem, took branches of palm trees and went out to meet Him, and cried out: ‘Hosanna! “Blessed is He who comes in the name of the Lord!” The King of Israel!’” John 12:12-13.