Nearby is Tokeiji , familiarly known as the Divorce Temple , which was unique as a sanctuary for the women of the warrior caste seeking an escape from unhappy marriages .
Women who were not from the warrior caste were not allowed in the Tokeiji .