Original: The town, located in a mountainous district, gradually lost importance in the 20th century.
Simplified: The town, located in a mountainous district, gradually lost importance in the 20th century.