text: Calcutta was named the capital of British India in 1772 , and starting in 1864 during the summer months , the capital was temporarily shifted to the hill station of Shimla .
simplified: Calcutta became the capital of British India in 1772 , . However , the capital shifted to the hilly town of Shimla during the summer months every year , starting from the year 1864 .