In Part II of the series , Shikamaru is assigned the task of locating two members of the criminal organization Akatsuki . While his team manages to find their targets , the immortal Akatsuki member Hidan kills Asuma Sarutobi during the course of the battle despite Shikamaru 's best efforts . After Asuma 's funeral , Shikamaru sets out with the surviving members of Team 10 to avenge their mentor with the aid of Kakashi Hatake . As the other deal with Hidan 's partner Kakuzu , Shikamaru avenges Asuma by defeating Hidan and making sure the Akatsuki member 's body is never found . Following the fight , Shikamaru vows to protect Kurenai Yuhi and Asuma 's newborn daughter . He is later assigned to the Fourth Division alongside Temari and Chōji . He is named a proxy general under Gaara . In the series epilogue , stating his personal desire during the series of final battles , Shikamaru becomes advisor to the Seventh Hokage Naruto after marrying Temari and gaining a son in Shikadai Nara .