What is the fine-grained topic of the following text: In the 8th century the place was occupied by the Tibetan immigrants which led to the coming up of many monastries here,buthowever it was soon overtaken by the Hindu temples.Dharamshala was totally under the control of the British in 1848 and during their period of reign they had this town as ther summer retreat.After the British it came under the control of the Kangra rulers whose glory was washed away along with the loss of the earthquake in 1905.It took time to slowly get back to normalcy, and it really gained prominence only after the arrival of Dalai from Tibet. Only return the topic.
The history of Dharamshala