Buddhist culture was most active and prosperous in early modern Japan (1600–1868). Buddhist temples were ubiquitous throughout the country, and no one was untouched by Buddhism. Buddhist priests wielded considerable power over the populace, and Shinto was largely subject to Buddhist control. Buddhist culture attained this considerable influence in early modern Japan through the performance of death-related rituals and prayer. Death-related rituals (also known as funerary Buddhism) were rooted in the nationwide anti-Christian policy of the Tokugawa bakufu that utilized the administrative machinery of Buddhist temples. Using the opportunity provided by the anti-Christian policy, Buddhist temples were able to bind all households to death-related rituals and this, in turn, gave rise to the danka system in which dying a Buddhist soon became the norm in early modern Japan. Given the rigid social status, mutual surveillance, and highly regulated nature of everyday life in Tokugawa Japan, people through prayer often turned to Buddhist deities to seek divine help for their wishes or ad hoc solutions to worldly problems. Beyond being sites of prayer services, Buddhist temples also served as spaces of learning, relief, and/or leisure, thus catering to people from all walks of life. Both prayer and play were also integral to Buddhist culture in early modern Japanese society.