Complex sentence: When Vettaiyan discovered this, he beheaded Gunashekaran on Durgashtami and burned Chandramukhi alive as a result of which Chandramukhi's ghost continued to haunt the palace in its southwest room to take revenge on the king.
Split into simpler sentences: When Vettaiyan discovered this, he beheaded Gunashekaran on Durgashtami and burnt Chandramukhi alive. As a result, Chandramukhi's ghost haunts the south-west room of the palace to take revenge on the king.