According to tradition, we may ascribe that title to Abraham,
since he was the spiritual authority of his time, in matters of
serving God, etc.
More formally, the Rabbinate as we know it was instituted in
Exodus ch.18 and Deuteronomy ch.17, with Moses as the highest
authority of his time.