Though samurai were discouraged from entering the Yoshiwara area, they often did so. The only requirement on them was that all their weapons had to be left at the town's entrance gate. By law, brothel patrons were only allowed to stay for a night and a day at a time.