In the Edo period, a "Geba-fuda" (a sign notifying horse riders that they are prohibited from entering the area indicated while mounted on a horse) was put up outside of a castle, and inside the castle, everybody except the shogun was, depending on their rank, obliged to dismount from their horse.
江戸時代には、城外に「下馬札」を立てて、城中では将軍以外はその身分に応じて下馬の制限を受けた。