Following defeat at the Siege of Kumamoto Castle and in other battles in central Kyūshū, the surviving remnants of the samurai forces loyal to Saigō Takamori fled back to Satsuma, seizing the hill of Shiroyama overlooking Kagoshima on 1 September 1877.
Imperial army troops under the command of General Yamagata Aritomo and marines under the command of Admiral Kawamura Sumiyoshi began arriving soon after, and the rebels were surrounded. After combat losses and defections, Saigō had only about 500 samurai remaining of a force of over 20,000 which had besieged the government garrison in the city of Kumamoto only six weeks earlier.
With 30,000 troops,[2] Yamagata, although greatly outnumbering Saigō, bided his time constructing a series of fortifications to encircle Saigō and preempt any chance of a breakout, additionally requisitioning five warships to bombard the rebels and reduce their defenses. He was planning an attack from all sides, and in an effort to prevent another escape, ordered that any position engaged by the enemy was to be fired upon, regardless of friendly casualties.[1] Saigō defended his position with limited musket support and a few pieces of artillery, melting down metal statues to produce bullets and tending to injuries with a carpenter's saw.[1]
Imperial Japanese Army fortifications encircling Shiroyama. 1877 photograph.
After firing a final barrage of artillery lasting the night, Yamagata's men attacked Saigō's position. The samurai, under heavy fire, charged the lines of the imperial army, which had not been trained for close-quarter sword fighting. In just a few minutes, the once organized line turned into disarray. Highly skilled samurai swordsmanship prevailed against an army with very little traditional training. For a short time, Saigō's lines held, but was forced back due to weight of numbers.[citation needed]
Saigō was mortally wounded in the femoral artery and stomach, and was carried by Beppu Shinsuke downhill to find a place to end his life. Serving as kaishakunin, Beppu cut off Saigō's head and hid it to prevent it from being found by the enemy. [1] After Saigō's death, Beppu and the last of the "ex-samurai" drew their swords and plunged downhill toward the Imperial positions and to their deaths. With these deaths, the Satsuma rebellion came to an end.
https://en.wikipedia.org/wiki/Battle_of_Shiroyama