After the 1511 Idrija earthquake, Ljubljana was rebuilt in the Renaissance style. Wooden buildings were forbidden after a large fire at New Square in 1524.