According to Encyclopaedia Judaica, the four-pillared masonry synagogue in Lancut (a town in southeastern Poland, in the Rzeszow province) was built around 1726 to replace a wooden synagogue which had been destroyed by a fire (EJ 10, 1381-1382). The synagogue was constructed near the grounds of the palace of Polish nobleman Count Potocki -- the protector of the Jews in the Lancut region (Kagan, 84).