In the middle ages, Počitelj was the administrative centre and centre of governance of Dubrava župa (county), and its westernmost point, which gave it major strategic importance. It is supposed that the fortified town and its attendant settlements were built by Bosnia's King Stjepan Tvrtko I in 1383.
The walled town of Počitelj evolved over the period from the sixteenth to the eighteenth centuries. Architecturally, the surviving stone-built parts of the town are a fortified complex, in which two stages of evolution may be observed: mediaeval, and Ottoman.
It overlooks the town and represents the panoramic place.
References:The Chapel of St. Martin is the only completely preserved Romanesque building in Vyšehrad and one of the oldest in Prague. In was built around 1100 in the eastern part of the fortified outer ward. Between 1100 and 1300, the Rotrunda was surrounded by a cemetery. The building survived the Hussite Wars and was used as the municipal prison of the Town of the Vyšehrad Hill.
During the Thirty Years’ War, it was used as gunpowder storage, from 1700 to 1750, it was renovated and reconsecrated. In 1784, the chapel was closed passed to the military management which kept using it as a warehouseand a cannon-amunition manufacturing facility. In 1841, it was meant to be demolished to give way to the construction of a new road through Vyšehrad. Eventually, only the original western entrance was walled up and replaced with a new one in the sountren side. The dilapidating Rotunda subsequently served as a shelter for the poor.