It was first mentioned in documents from 1228 .
It was first received Magdeburg rights as Nowy Targ ( later Miasteczko Odechowskie ) in 1578 .
It was first mentioned in documents from 1228 , and received Magdeburg rights as Nowy Targ ( later Miasteczko Odechowskie ) in 1578 .