Complex sentence: The Shiv ling was placed inside during the Sikh period in nineteenth century and it became an active Hindu temple when regular services were conducted.
Split into simpler sentences: The Shiv ling was placed inside during the Sikh period in the 19th century. It became an active Hindu temple when regular services were conducted.