Complex sentence: After a failed attempt to assault Milan itself, he was wounded by an arrow in the course of the Battle of Cassano d'Adda; had to retreat but was captured near Bergamo.
Split into simpler sentences: After a failed attempt to assault Milan itself, he was wounded by an arrow in the course of the Battle of Cassano d'Adda. He had to retreat but was captured near Bergamo.