The Kandariya Mahadeva Temple is the largest and most ornate Hindu temple in the medieval temple group found at Khajuraho. It is considered one of the best examples of temples preserved from the medieval period in India. Khajuraho was once the religious capital of the Chandela Rajputs. The Kandariya Mahadeva temple is the largest of the Western group of temples and was built by Vidyadhar, arguably one of the greatest Chandela kings. Like many other temples in the Khajuraho complex, it has a linear series of access-steps facing the east-west directions. Other features are columned halls with balconies, an entrance porch, and the inner sanctum. Decorating the sides of the temple are over 646 statues. At the top is the amalaka, a circular ring motif common in North Indian temple architecture. Many of the side panels depict Shiva in the presence of apsaras, consorts, and other divinities. These erotic figures do not span the whole temple and are not to be found among the 226 found inside.