Complex sentence: Sea water was a popular remedy of the day back in 1902 when a sanitarium was erected in Nye Beach.
Split into simpler sentences: Sea water was a popular remedy of the day back in 1902. That year a sanitarium was erected in Nye Beach.