Ranpur is said to have been founded, about the beginning of the fourteenth century, by Ranaji Gohil, a Rajput chieftain, the ancestor of the Bhavnagar State family.
The forefathers of this Ranaji, who claimed descent from Shalivahan (79 AD) were, in the thirteenth century, driven by the Rathors from their seat in Khedgarh on the Luni River about ten miles from Balotra in Marwar.
Ranaji, Sejakji's son, married the daughter of Dhanaji Mer koli patel Dhandhuka, and strengthening Sejakpur with a fort called it Ranpur.
Mokhadaji Gohil, Ranaji's son, increased the power of his clan and carried their capital south to Piram Island and Ghogha.
[1][2] More than a hundred years later another Ranaji ruling in Ranpur, by his Rajput pride and hate of Islam, enraged Mahmud Begada (1459–1511) and was defeated and slain, and his castle and town razed to the ground.
Shortly after this Halaji and Lakhdarji, Ranaji's nephews and chiefs of Muli, befriending some Jat refugees, incurred the anger of the ruler of Sindh.
On the raised strip of land between Bhadar and Goma rivers, the European houses were built by Mr. Jackson, Collector of Ahmedabad, around 1830 which no longer exists.
In the reign of the king, splendid as Jamshed, the just and the generous Shahab-ud-din Muhammad II, the lord of the time, Shah Jahan the valiant warrior, may the Almighty maintain his rule, in the month of Zil Haj in the year 1050 H. (AD 1642), the humble slave of the Almighty, A'zam Khan, during the term of his government of Gujarat, laid the foundation of this sacred mosque in this castle of Shahapur, and finished it that the servants of the True God may worship Him.
A'zam Khan, while Viceroy of Gujarat, began to build this bath on the 1st of the month of Jamddil A'khar and completed it at the end of Muharram 1052 H. (AD 1644).
A'zam Khan the servant of God in the month of Shawwdl in the year 1051 H. (AD 1643) when Viceroy of Gujarat having built this well left it to the garden for a help to the people.