 In 843 the area was absorbed into the Frankish Empire.In the Frankish Empire, the area again stood on the border, this time between the Frankish Empire and the Principality of Hungary.To protect the Frankish Empire from Hungarian raids, a castle was built on Pyramid Hill.