As the village reduced in population, these functions were wound down, with, for example, the high school closing its doors in 1978.
These functions were wound down for example. This was with. This was as the village reduced in population. Example was the high school. This high school was closing its doors in 1978.