Before the Law of Moses and the Levitical priesthood, God revealed His ultimate plan for an eternal priesthood through the Old Testament figure of Melchizedek. Jesus was the ultimate fulfillment of a priest who was outside the legal requirements of the law and the limitations of a flawed human priest.
Hebrews 7:1-10