Simon Peter was following Jesus along with another disciple. Since that disciple was known to the high (archierei | ἀρχιερεῖ | dat sg masc) priest, he went with Jesus into the courtyard of the high (archiereōs | ἀρχιερέως | gen sg masc) priest,
Reference
John 18:15
Sequence
71