Complex sentence: Under President Hayes, Sherman served as the Secretary of the Treasury, advocating for the gold standard and building up the country's gold reserves.
Split into simpler sentences: Under President Hayes, Sherman served as the Secretary of the Treasury. As Secretary of the Treasury, Sherman advocated for the gold standard and built up the country's gold reserves.