And they ate and drank before the Lord on that day with great joy. And they declared the second time Solomon the son of David to be king, and they anointed him unto the Lord as chief ruler, and Zadok as priest.