Rubuta ci gaba don wannan sakin layi - Magana ta farko game da garin ya fito ne daga 1283, lokacin da garin ya kasance mallakar Masovian Dukes, kuma ya sami dokokin birni (dokar Chełm) a 1430. Babban ci gaban garin ya zo ne a ƙarni na 15 da 16. Ruwan Ruwan Sweden ya kawo ƙarshen wadataccen birni kamar yadda aka lalata shi da yawa. A lokacin duka Janairu da
da kuma Nuwamba tawaye a kan Rasha, yankin ya kasance mai shaida ga fadace-fadace da sojojin Rasha. Sakamakon tsanantawar da tsarin Tsarist ya yi, an hana birnin haƙƙin birni a 1870, kuma an kafa rundunonin sojojin Rasha biyu a garin. A lokacin Yaƙin Duniya na I, an sake lalata yankin sosai. Rundunar Sojoji ta Poland ta 1 a karkashin umarnin Edward Rydz-Śmigły ta kasance a cikin garin a cikin 1917. Bayan Poland ta sake samun 'yancin kai, an dawo da haƙƙin birni a shekara ta 1919. A lokacin shekarun tsakanin yaƙe-yaƙe an haɗa garin da sojoji: Rundunar Sojoji ta 71 ta kasance a can kuma garin ya kasance gida ga makarantar soja.