Trial Timeline

When Jesus was arrested in the garden of Gethsemane, he was first taken to Annas and then to the high priest Caiaphas.

John 18:12-14 
12]Then the band and the captain and officers of the Jews took Jesus, and bound him,
13] and led him away to Annas first; for he was father in law to Caiaphas, which was the high priest that same year.
14] Now Caiaphas was he, which gave counsel to the Jews, that it was expedient that one man should die for the people. (Found in John 11:47-53, and again plotting to kill Jesus in Matthew 26:3-5)

John 18:24 
Now Annas had sent him bound unto Caiaphas the high priest.

We are told in Luke 3:1-3 that Annas and Caiaphas were the high priests when John the Baptist began preaching and baptizing in the Jordan River, and Pontius Pilate was governor of Judaea at that time also.

All four gospels record that Jesus was led away to Pontius Pilate, the Roman governor of Judaea, early in the morning, just after Peter denied him for the third time.

The chief priests wanted Jesus to die. But the Jews could not sentence anyone to death, the accused had to be brought before the Roman authorities. 

John 18:31
Then said Pilate unto them, Take ye him, and judge him according to your law. The Jews therefore said unto him, It is not lawful for us to put any man to death: 

When Pilate heard Jesus was a Galilean, he sent Jesus to King Herod.

Luke 23:7 
And as soon as he knew that he belonged unto Herod’s jurisdiction, he sent him to Herod, who himself also was at Jerusalem at that time. 

But Herod sent Jesus back to Pilate. 
And Pilate sent Jesus to the cross to be crucified. 

Read about these events in detail. They begin in:
Matthew 26:47 
Mark 14:43 
Luke 22:47
John 18