So the soldiers, their officer, and the Jewish police arrested Jesus and bound him.
First they took him to Annas, who was the father-in-law of Caiaphas, the high priest that year.
Caiaphas was the one who had advised the Jews that it was better to have one person die for the people.
Simon Peter and another disciple followed Jesus. Since that disciple was known to the high priest, he went with Jesus into the courtyard of the high priest,
but Peter was standing outside at the gate. So the other disciple, who was known to the high priest, went out, spoke to the woman who guarded the gate, and brought Peter in.
The woman said to Peter, "You are not also one of this man's disciples, are you?" He said, "I am not."
Now the slaves and the police had made a charcoal fire because it was cold, and they were standing around it and warming themselves. Peter also was standing with them and warming himself.
Then the high priest questioned Jesus about his disciples and about his teaching.
Jesus answered, "I have spoken openly to the world; I have always taught in synagogues and in the temple, where all the Jews come together. I have said nothing in secret.
Why do you ask me? Ask those who heard what I said to them; they know what I said."
When he had said this, one of the police standing nearby struck Jesus on the face, saying, "Is that how you answer the high priest?"
Jesus answered, "If I have spoken wrongly, testify to the wrong. But if I have spoken rightly, why do you strike me?"
Then Annas sent him bound to Caiaphas the high priest.
Now Simon Peter was standing and warming himself. They asked him, "You are not also one of his disciples, are you?" He denied it and said, "I am not."
One of the slaves of the high priest, a relative of the man whose ear Peter had cut off, asked, "Did I not see you in the garden with him?"
Again Peter denied it, and at that moment the cock crowed.
Then they took Jesus from Caiaphas to Pilate's headquarters. It was early in the morning. They themselves did not enter the headquarters, so as to avoid ritual defilement and to be able to eat the Passover.
References for John 18:28
So Pilate went out to them and said, "What accusation do you bring against this man?"
They answered, "If this man were not a criminal, we would not have handed him over to you."
Pilate said to them, "Take him yourselves and judge him according to your law." The Jews replied, "We are not permitted to put anyone to death."
(This was to fulfill what Jesus had said when he indicated the kind of death he was to die.)
Then Pilate entered the headquarters again, summoned Jesus, and asked him, "Are you the King of the Jews?"
References for John 18:33
Jesus answered, "Do you ask this on your own, or did others tell you about me?"
Pilate replied, "I am not a Jew, am I? Your own nation and the chief priests have handed you over to me. What have you done?"
Jesus answered, "My kingdom is not from this world. If my kingdom were from this world, my followers would be fighting to keep me from being handed over to the Jews. But as it is, my kingdom is not from here."
Pilate asked him, "So you are a king?" Jesus answered, "You say that I am a king. For this I was born, and for this I came into the world, to testify to the truth. Everyone who belongs to the truth listens to my voice."
Pilate asked him, "What is truth?" After he had said this, he went out to the Jews again and told them, "I find no case against him.
But you have a custom that I release someone for you at the Passover. Do you want me to release for you the King of the Jews?"
They shouted in reply, "Not this man, but Barabbas!" Now Barabbas was a bandit.