The city was granted the privilege of a storehouse, which ordered any merchant passing through Ghent with grain to set aside 1/4 of his cargo for sale at the nearby grain market (Korenmarkt). The city grew rapidly richer, and its political importance increased. The Gravensteen fortress was then built (1180), not to defend the city, but to protect the count from rebellious craftsmen.