AmasaAmasa was David's nephew, the son of Abigail, who was David's sister.  He was also a cousin to Joab, the commander of David's army.
When David sent Amasa to mobilize the troops to chase after Sheba, he met up with Joab and Abishai, who were leading the king's bodyguard on the same mission. Amasa and Joab went to greet each other, but Joab pulled out a dagger and killed Amasa.
Amasa was the one who convinced all the leaders of Judah to take back David as their king after the revolt of Absalom.