Complex sentence: This was a battle that went on for several years, however during the process of this battle occurring Spain passed the New Laws that said that every slave in New Spain was free.
Split into simpler sentences: This was a battle that went on for several years. However, during the process of this battle, Spain passed the New Laws that said that every slave in New Spain was free.