22That day they ate and drank with great joy in the presence of the LORD. Then, for a second time, they designated David’s son Solomon as king, anointing him before the LORD as ruler, and Zadok as the priest.
— 1 Chronicles 29:22