Machine gun feudal anime request
It's Rurouni Kenshin



and the character you talking about is Shinomori Aoshi.


   Kanryū betrays Aoshi and kills his four subordinates with a Gatling gun while they die one after the other protecting Aoshi.


Source - Wikipedia article for Shinomori Aoshi