Who replaced Judas after he betrayed Jesus?

Acts 1: 26 says this: "And they gave forth their lots; and the lot fell on Matthias; and he was numbered with the eleven apostles." Thus quite clearly Matthias was the replacement for Judas who was already dead before Jesus as he hanged himself in despair as recorded.