before the Lord - either in the immediate vicinity of the ark, or, perhaps, rather in a religious and devout spirit, as partaking of a sacrificial meal.
made Solomon ... king the second time - in reference to the first time, which was done precipitately on Adonijah’s conspiracy (1Ki 1:35).
they ... anointed ... Zadok - The statement implies that his appointment met the popular approval. His elevation as sole high priest was on the disgrace of Abiathar, one of Adonijah’s accomplices.