sentences:  The first building of the synagogue, probably a wooden structure, was destroyed in a fire in April 1557, but following a new permission granted by King Sigismund II Augustus, a second building of masonry was erected in place in 1557 after the plans of Stanisław Baranek, a Kraków architect.The original late Renaissance style edifice underwent a number of changes during the 17th and the 18th centuries.The current building traces its design to the restoration work of 1829, to which some technical improvements were introduced during the restoration of 1933 conducted under the supervision of the architect Herman Gutman.