His military exploits included the attack on Nagamasa ASAI of Omi Province in 1573, the Battle of Shizukatake in 1583, and the invasion of Korea that was launched after Hideyoshi inherited the responsibility to unify Japan following the death of Nobunaga, and he was later rewarded for his outstanding political skills when he was assigned the role of conducting the Taiko-kenichi (land surveys instigated by Toyotomi Hideyoshi) and appointed to the position of Kyoto Shoshidai (the shogunate's military governor, who was stationed in Kyoto.
1573年（天正元年）、近江浅井長政攻めをはじめに、1583年（天正11年）の賤ケ岳の戦い、信長の死後に秀吉が統一事業を継承すると朝鮮出兵などで武功を挙げ、またその卓越した行政手腕を買われて太閤検地を行い京都所司代を務めた。