1 Chronicles 29:22

29:22 They held a feast before the Lord that day and celebrated.

Then they designated Solomon, David’s son, as king a second time; before the Lord they anointed him as ruler and Zadok as priest.

1 Chronicles 11:3

11:3 When all the leaders of Israel came to the king at Hebron, David made an agreement with them in Hebron before the Lord. They anointed David king over Israel, just as the Lord had announced through Samuel.