Like Ta Prohm, Banteay Kdei dates from the late 12th to early 13th centuries. It, too, was surrounded by a wall that enclosed an area almost as large as that at Ta Prohm. The outer wall's entry gopuras were surmounted by face-towers. Banteay Kdei was a Buddhist temple.