א׳V. 18. והיה כשבתו וגו׳. At once, as soon as he has ascended the throne, his first act is to be וכתב לו וגו׳, that with his own hand he writes a copy of the Torah. With this act he acknowledges that, in the very first place the Torah is given for him, that he is not above the Law, but rather that it is to be the unalterable rule of conduct for his life, the realisation of which in the nation is to be the sum of his mission as king, and that in conscientious faithfulness to the Torah and in ready self-sacrificing devotion to the tasks dictated by the Torah he will stand as an example before the people as the “first and foremost son of the Torah”.
ב׳את משנה התורה הזאת: a double copy of the Torah, like ומשנה כסף (Gen. 43,15) משנה שכר שכיר (Deut. 15,18). According to Sanhedrin 21,b, one copy to be deposited on his book-shelves to be at the same time a permanent witness for and against him, and the other to accompany him constantly wherever he goes.
ג׳מלפני הכהנים הלוים (see on V.9). Copied from the scroll which was kept in the Temple in the care of the priests and the Sanhedrin, the ספר עזרה. Thus Sanhedrin Jerusalmi 2,4: ומגיהין אותו מספר עזרה ע״פ ב״ד של ע״א (see Ch. 31,9).