By the beginning of the 18th century, life in the city of Edinburgh (today's Old Town) was overcrowded and unsanitary.
Life in Edinburgh was unsanitary in the early 18th century.
Edinburgh was sparsely populated by the 18th century.