Simon Peter was following Jesus along with another disciple. Since (de | δέ | conj) that disciple was known to the high priest, he went with Jesus into the courtyard of the high priest,
Reference
John 18:15
Sequence
1233