York prospered during much of the later medieval era. Twenty medieval parish churches survive in whole or in part, though only eight of these are regularly used for worship. Many medieval era timber-framed buildings survive in the city. While Slum clearances in the 19th century removed some of the more decrepit ancient examples of medieval architecture in the city, such as the medieval Water Lanes, streets such as The Shambles still survive to this day. The Shambles mostly date from the later medieval era with many examples of timber-framed shops with overhanging upper floors. The street was originally occupied by butchers but is now a popular tourist attraction consisting of mostly souvenir shops. Some retain the outdoor shelves and the hooks on which meat was displayed. The medieval city walls, with their entrance gates, known as "bars", encompassed virtually the entire city and survive to this day. The city was also designated as a county corporate, giving it effective county status.