Complex sentence: Bonnyrigg was a mining village until the 1920s while its carpet factory was demolished in 1994, the village centre mostly dates from the 19th century though buildings at the main crossroads were rebuilt in the 1960s.
Split into simpler sentences: Bonnyrigg was a mining village until the 1920s, while its carpet factory was demolished in 1994. The village centre mostly dates from the 19th century, though buildings at the main crossroads were rebuilt in the 1960s.