In British India there were two types of states in Indian Empire.
(i) The state ruled over by the British Governor.
(ii) Desi riyasats (provincial States) ruled over by the Indian kings under the British.
These provincial states were located in all the parts of India. Amongst them few had very large area while few were very small. These riyasats were under the British Empire by the pacts and agreements.
British-divided India at the time of making it free, divided all regions in two nations Bharat and Pakistan. British ended all the pacts done with riyasats before, and left their rights over them and give them right that to either join Pakistan or India or to remain independent. It made the condition typical because rulers of some riyasats wanted to remain free while some wanted to merge with Pakistan.
Though these Riyasats located in the centre of the India and subject of here too wanted to merge with India. Due to such step of these rulers there could be danger to the integrity of India. So to sort out this problem, the interim government of India set up a riyasat a deparment under the chairmanship of Sardar Vallabhbhai Patel. He inspired the rulers of the Indian states to merge with India and suggested to keep in mind the geographical, economical and wishes of the people in mind.