It was when Jeroboam was preparing to depart from Jerusalem forever, in order to escape the dangers to which Solomon's displeasure exposed him, that Ahijah of Shilo met him with the Divine tidings of his elevation to the kingship. The prophet Ahijah, of the tribe of Levi, was venerable, not only by reason of his hoary age, his birth occurred at least sixty years before the exodus from Egypt, but because his piety was so profound that a saint of the exalted standing of Simon ben Yohai associated Ahijah with himself. Simon once exclaimed: "My merits and Ahijah together suffice to atone for the iniquity of all sinners from the time of Abraham until the advent of the Messiah."
Jeroboam and the Patriarchs
Legends of the Jews 6:5