After this, the city was probably deserted. When the Hungarians arrived in the area, it was in ruins. In the 9th–11th centuries Hungarians strengthened the old Roman city walls and built a castle. The town got its Hungarian name of Sopron from a steward of the castle named Suprun. By 1153 it was an important town.