Acts 1:21-26 NKJV
“Therefore, of these men who have accompanied us all the time that the Lord Jesus went in and out among us, beginning from the baptism of John to that day when He was taken up from us, one of these must become a witness with us of His resurrection.”
And they proposed two: Joseph called Barsabas, who was surnamed Justus, and Matthias. And they prayed and said, “You, O Lord, who know the hearts of all, show which of these two You have chosen to take part in this ministry and apostleship from which Judas by transgression fell, that he might go to his own place.” And they cast their lots, and the lot fell on Matthias. And he was numbered with the eleven apostles.
NKJV: New King James Version