Samobor has been there since 1242 , according to a document of endowment by King Bela IV .
Samobor has existed as a free royal town since 1242 according to a document of endowment by King Bela IV .