When he is seated on his royal throne, he must write for himself a copy of this instruction on a scroll in the presence of the Levitical priests.
Jewish Publication Society of America Version (JPS1917) - Deuteronomy 17:18 >And it shall be, when he sitteth upon the throne of his kingdom, that he shall write him a copy of this law in a book, out of that which is before the priests the Levites.