David is old and bed-ridden, and his son Adonijah proclaims himself king with the help of David’s commander Joab and the priest, Abiathar. Hearing this news, David instructs the prophet Nathan to anoint David’s son, Solomon, as king. The people rally behind Solomon in a grand procession to the royal throne. Before dying, David charges Solomon to remain faithful to God and his laws. Solomon solidifies his claim to the throne by killing Joab, Adonijah, and the remaining dissenters from David’s reign. He also makes an alliance with Egypt by marrying the pharaoh’s daughter.