Complex sentence: His close ties to Charles IV were rewarded when he received the Altmark territory in 1347, whereby the Elbe river became the boundary between Saxony and Brandenburg.
Split into simpler sentences: His close ties to Charles IV were rewarded when he received the Altmark in 1347. The Elbe River became the boundary between Saxony and Brandenburg.