Deut 17:18

18When he has taken the throne of his kingdom, he shall have a copy of this law written for him in the presence of the levitical priests.