During Japan's civil war era, many castles were erected as strongholds and displays of power by the local warlords.