A heavily fortified guard post that controlled the flow of people and goods to and from Edo (Tokyo) during the samurai era. It was less about invasion protection and more about social control, looking out for western firearms and preventing feudal lords' wives from leaving Edo.