Original: From 1874 to 1877 he was given leave of absence for part of each year to complete his studies in Germany, where he studied with Carl Reinecke and Friedrich Kiel.
Simplified: While he had these jobs he was given time to make visits to Germany where he studied with Carl Reinecke and Friedrich Kiel.