In 1634, a gunpowder factory explosion killed 22 people in Valletta. In 1749, Muslim slaves plotted to kill Grandmaster Pinto and take over Valletta, but the revolt was suppressed before it even started due to their plans leaking out to the Order. Later on in his reign, Pinto embellished the city with Baroque architecture, and many important buildings such as Auberge de Castille were remodeled or completely rebuilt in the new architectural style.