Simon Peter was following (ēkolouthei | ἠκολούθει | imperf act ind 3 sg) Jesus along 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
71