However, many were rebuilt, either later in the Sengoku period, in the Edo period (1603–1867) that followed, or more recently, as national heritage sites or museums. Today there are more than one hundred castles extant, or partially extant, in Japan; it is estimated that once there were five thousand.