He was the last Judge.
However, Samuel was an obedient Servant of God, much loved and honoured, and in the Acts of the Apostles he is referred to as a Prophet. (Acts 3:24)