 After the revolt was crushed and Absalom died (), David was invited back to Jerusalem and restored as king.David re-appointed Amasa "from now on" as his military commander () in place of Joab.The New International Version translates the Hebrew text as commander "for life".