西南戦争
During the Satsuma Rebellion Yamaji commanded the IJA 4th Infantry Regiment from March to October 1877, served as chief of staff of the IJA 3rd Infantry Brigade and subsequently commanded the IJA 3rd Infantry Regiment and IJA 12th Infantry Regiment.