Viharas were for the purpose of living, Chaityas were assemblies for the purpose of discussions. Further, Chaityas were with Stupas, Viharas did not have stupas.
The Pala ruler ‘Devapala’ was succeeded by Vigrahapala. Vigrahapala ruled for about 3 or 4 years after that, he abdicated his throne and began to live the life of an ascetic.
The finest examples of the art during the Gupta period are Ajanta caves. Out of the 31 rock-cut cave monuments at Ajanta, five are Chaitya Grihas. The five chaitya grihas are cave numbers 9, 10, 19, 26, and 29.