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