From the latter Azuchi-Momoyama period to the early Edo period, they started to establish castles with stone walls and that type of castle was also used for mountain castles.
安土桃山時代後期から江戸初期には石垣を多用した城も現れ、山城にも導入された。