Concurrently with the fortress, a caravanserai was built in its vicinity. It had 24 rooms, each with its own fireplace, for the caravan travelers and voyagers. In time, it grew into the modern village of Ram. Modern Serbian Orthodox Church, built in 1839, is located on this spot today and the former caravanserai serves as it churchyard. It is the only surviving caravanserai in Serbia and one of the best preserved such facilities in the Balkans. Construction of the church helped the preservation, as it prevented the further crumbling and theft of the building materials.