On August 3, 1600 (Keicho 5), as a prelude to the Battle of Sekigahara, Maeda Toshinaga attacked Daishoji Castle with roughly 20,000 troops. Castle lord Yamaguchi Munenaga, aligned with Ishida Mitsunari's western forces, held out with only about 500 men but the castle fell that same evening, and both Munenaga and his son Shuhiro took their own lives. The victory demonstrated Toshinaga's loyalty to the eastern army and secured the foundation of the Kaga million-koku domain.