Simon Peter was following Jesus along (kai | καί | conj) with another disciple. Since that disciple was known to the high priest, he went with Jesus into the courtyard of the high priest,
Reference
John 18:15
Sequence
2543