▁the ▁most ▁powerful ▁magn ates ▁in ▁the ▁Polish - L ith uan ian ▁Commonwealth , ▁Jan ▁Z amo y ski , ▁who ▁in ▁ 1 5 9 6 ▁incorpor ated ▁Gor aj ▁into ▁his ▁land ed ▁property , ▁Ord yn acja ▁Zam oj ska ▁( Z amos c ▁Est ate ). ▁ ▁In ▁ 1 5 4 0 , ▁a ▁Cal vin ist ▁prayer ▁house ▁was ▁built ▁at ▁Gor aj . ▁It ▁remained ▁in ▁use ▁until ▁ca . ▁ 1 6 2 5 , ▁and ▁in ▁ 1 5 6 1 , ▁the ▁town ▁received ▁permission ▁to ▁build ▁but cher ▁sh ops ▁and ▁a ▁town ▁hall . ▁In ▁the ▁same ▁year , ▁Gor aj ▁burn ed ▁in ▁a ▁large ▁fire . ▁In ▁ 1 6 4 8 , ▁the ▁town ▁was ▁r ans ack ed ▁and ▁destroyed ▁by ▁C oss acks ▁and ▁Tat ars ▁in ▁the ▁K hm el ny t sky ▁U pr ising , ▁it ▁also ▁suffered ▁during ▁the ▁Swedish ▁invasion ▁of ▁Poland ▁( 1 6 5 5 – 1 6 6 0 ), ▁when , ▁among ▁other ▁buildings , ▁a ▁local ▁parish ▁church ▁was ▁destroyed . ▁By ▁that ▁time , ▁Gor aj ▁already ▁had ▁a ▁Jewish ▁community , ▁with ▁a ▁stone ▁syn agog ue , ▁built ▁probably ▁in ▁the ▁late ▁ 1 7 th ▁century , ▁and ▁destroyed ▁by ▁the ▁Germ ans ▁in ▁World ▁War ▁II . ▁ ▁Following ▁the ▁Part itions ▁of ▁Poland , ▁Gor aj , ▁which ▁for ▁centuries ▁belonged ▁to ▁L esser ▁Poland ’ s ▁Lub lin