fˈɑːloʊɪŋ ðə pɑːɹtˈɪʃənz ʌv pˈoʊlənd, ðə vˈɪlɪdʒ wʌz ˈænɛkst baɪ ðə hˈæbsbɜːɡ ˈɛmpaɪɚ, ænd fɹʌm wˈʌn θˈaʊzənd sˈɛvənhˈʌndɹɪd sˈɛvənti tˈuː ʌntˈɪl nˈaɪntiːnhˈʌndɹɪd ˈeɪtiːn ɪt wʌz pˈɑːɹt ʌvðə pɹˈɑːvɪns ʌv ɡælˈɪʃə.
Following the Partitions of Poland, the village was annexed by the Habsburg Empire, and from 1772 until 1918 it was part of the province of Galicia.