 The place first finds its reference in Trajanic times as a settlement where the cavalry units were stationed.In the year 1128 CE, it is mentioned as being in the area where the Byzantines defeated the Hungarians.Sultan Bayazid II (1480–1512) built the present fortifications of Ram Fortress, in the form of a regular pentagon designed to withstand cannon warfare.