After the AZAI clan was destroyed in October 1573, Hideyoshi, who was given control of Azai County and Sakata County, built Nagahama-jo Castle in Omi Province as his base.
天正元年（1573年）9月に浅井氏が滅亡すると、秀吉は浅井郡・坂田郡の支配権を与えられ、本拠地として長浜城(近江国)を築城。