Gravensteen is a Medieval castle in Ghent. Present castle was built 1180 by count Philip of Alsace & modeled after castles Philip saw in the 2nd crusade. It served as the seat for the Counts of Flanders until abandoned in the 1300s. It was then used as a courthouse & prison. Houses were built against the walls & even on its courtyard. Wall stones were used to erect other buildings; it was even a factory. By the end of the 1800s, it was set to be demolished.