During the Enlightenment of the late 18th century, under the rule of Marquis of Pombal, the Prime-Minister of Portugal, legal restraints on the New Christians were abolished and rights equiparated to those of the Old Christians. Pombal tried to recreate the industrial preëminence of Fundão by founding the Royal Factories (today known as the City Hall). These efforts allowed a measure of revival to the wool industries of the city, and cloth was again exported to northern Europe. The city decayed again after its sack during the defeated Napoleonic French invasions of Portugal, and the subsequent Civil War between supporters of the Liberal Constitutionalist D. Pedro and his brother Conservative Absolutist D. Miguel, who were competing for the throne.