sentence1: When bathing in the sea became popular at the end of the 18th century, wealthy families from Edinburgh began to spend days here taking the waters in state-of-the art bathing machines. 
sentence2: Bathing in the sea was disliked as a crude practice by the wealthy families of Edinburgh at the end of the 18th century.