Tōkei-ji is a Buddhist temple, a former nunnery founded in 1285, in Yamanouchi, near Kamakura. Women could get a divorce by staying here for three years.