Complex sentence: The Nelipić family held the city until shortly after the death of Ivan in 1245, when the king Louis I of Hungary descended into Croatia with an army of 25,000 troops.
Split into simpler sentences: The Nelipić family held the city until shortly after the death of Ivan in 1245. In that same year, the king Louis I of Hungary descended into Croatia with an army of 25,000 troops.