Complex sentence: They inspired the people and headed to the dogras, and freed the Lachmi Pattan and named it Azad Pattan.
Split into simpler sentences: They inspired the people and headed to the dogras. They freed the Lachmi Pattan and named it as Azad Pattan.