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.
During the reign of Dhruva (c. 780 – 793 CE), the Rashtrakuta kingdom expanded into an empire that encompassed all of the territory between the Kaveri River and Central India. He led successful expeditions to Kannauj and defeated the King Nagabhatta II. He also defeated the Palas of Bengal (Dharmapala).