The town is mentioned for the first time in a bull by emperor Frederick II of 1234, as Graczanum.
The first documented reference to the town was made by Emperor Frederick II in 1234, when he referred to it as Graczanum.