A more peaceful era started after 1710. Industry, trade and viticulture prospered, manufactures were founded, a new city hall was built. The feudal lord of the city was the Bishop of Pécs, but the city wanted to free itself from episcopal control. Bishop George Klimó, an enlightened man (who founded the first public library of the country) would have agreed to cede his rights to the city, but the Holy See forbade him to do so. When Klimó died in 1777, Queen Maria Theresa quickly elevated Pécs to free royal town status before the new bishop was elected. This cost the city 83,315 forints.