וְדָוִ֥יד זָקֵ֖ן וְשָׂבַ֣ע יָמִ֑ים וַיַּמְלֵ֛ךְ אֶת־שְׁלֹמֹ֥ה בְנ֖וֹ עַל־יִשְׂרָאֵֽל׃
Now David was old and full of days; and he made Solomon his son king over Israel.
Read halakhic rulings (Jewish law) on I Chronicles 23:1: and classical halakhic sources.