Complex sentence: Legend has it that the neighboring Vegavati river overflowed and threatened to engulf the Shiva Lingam and that Parvati or Kamakshi, embraced the Lingam, and Shiva, touched by the gesture materialized in person and married her.
Split into simpler sentences: Legend has it that the neighboring "Vegavati" river overflowed and threatened to engulf the Shiva Lingam and that Parvati or Kamakshi embraced the Lingam. Shiva touched by the gesture materialized in person and married her.