1 words across 1 languages descend from Persian ـم — including متشکرم.
See the etymology of ـم itself →