Matthew 26:56-60

Mat 26:56 (KJB)
But all this was done, that the scriptures of the prophets might be fulfilled. Then all the disciples forsook him, and fled.

Matthew is the Gospel which points to the fact that so many of the things which happened to Jesus was a fulfillment of the Hebrew Scriptures. All the disciples had fled from the scene because no one could be seen having any part in what Jesus was going to do or else it would have seemed like man had a part in the salvation plan of God and that would be false. This abandonment was also a fulfillment of Scripture. (Zec 13:7 KJV) Awake, O sword, against my shepherd, and against the man that is my fellow, saith the LORD of hosts: smite the shepherd, and the sheep shall be scattered: and I will turn mine hand upon the little ones. The chief priests and elders had no idea what the Hebrew Scriptures taught and that proves the truth of the Scriptures because they were fulfilling the Scriptures without them realizing it.

Mat 26:57 (KJB)
And they that had laid hold on Jesus led him away to Caiaphas the high priest, where the scribes and the elders were assembled.

When Jesus was taken, He was first taken to Annas who was the father in law to Caiaphas but Matthew leaves this out, instead he begins the narrative with Jesus going to the house of Caiaphas where the scribes and elders were assembled. This happened at night which means it was a mock trial and the illegalities in their procedure were piling up.

Mat 26:58 (KJB)
But Peter followed him afar off unto the high priest's palace, and went in, and sat with the servants, to see the end.

Peter had followed at a far distance but he had tried to get as close as he could to see what was happening to Jesus. He would have sat in the inner court which would have had access by an archway. Peter had entered in and sat with the servants to see what the end would be. The word “end” in the Greek is “telos” which not only means “an end” but also a “goal.” So Peter was interested in the proceedings.

Mat 26:59 (KJB)
Now the chief priests, and elders, and all the council, sought false witness against Jesus, to put him to death;

The goal of the chief priests and elders was to put Jesus to death. That is what they set out to do. In fact, the entire Sanhedrin wanted to see Him dead, except Nicodemus and Joseph. So they began their kangaroo court by seeking to find any false witnesses. This large group must have known some people who would be willing to lie for a price and help them execute Jesus.

Mat 26:60 (KJB)
But found none: yea, though many false witnesses came, yet found they none. At the last came two false witnesses,

A true testimony had to have at least two corroborating witnesses who witnessed the same thing and their testimonies could not conflict with one another. This group had trouble finding credible false witnesses and they had found none. Then to their joy at the end of this council, there came two false witnesses which seemed to have their stories together and now the council could build upon their false testimony.