To celebrate his unification of Japan after more than a century of civil war , Hideyoshi had made the castle the country 's greatest fortress , so the Tokugawa felt obliged to destroy it in 1615 after snatching power away from Hideyoshi 's heir .
Hideyoshi destroyed a castle that was later rebuilt .