On September 24, 1877, the Battle of Shiroyama, a decisive victory of the Imperial Japanese Army over the Satsuma Rebellion took place. An excerpt from the article:
"On September 23, two of Saigo's officers approached the Imperial lines under a flag of truce with the goal of negotiating a way to save their leader. Rebuffed, they were sent back with a letter from Yamagata imploring the rebels to surrender. Forbidden by honor to surrender, Saigo spent the night in a sake party with his officers. After midnight, Yamagata's artillery opened fire and was supported by warships in the harbor. Reducing the rebel's position, the Imperial troops attacked around 3:00 AM. Charging the Imperial lines, the samurai closed and engaged the government conscripts with their swords.
By 6:00 AM, only 40 of the rebels remained alive. Wounded in the thigh and stomach, Saigo had his friend Beppu Shinsuke carry him to a quiet spot where he committed seppuku. With their leader dead, Beppu led the remaining samurai in a suicidal charge against the enemy. Surging forward, they were cut down by Yamagata's Gatling guns.
Aftermath:
The Battle of Shiroyama cost the rebels their entire force including the renowned Saigo Takamori. Imperial losses are not known. The defeat at Shiroyama ended the Satsuma Rebellion and broke the back of the samurai class. Modern weapons proved their superiority and the path was set for the building of a modern, Westernized Japanese army that included from people of all classes."