Remove the spaces from the following sentence: He died in 1844. 1322 M iv Johann von Sachsen-Altenburg was born in 1841.
Hediedin1844.1322MivJohannvonSachsen-Altenburgwasbornin1841.