He ended inflation by causing a brutal recession through extreme interest rate hikes, which resulted in an irreversible shift in economic paradigms which caused the US to abandon its industrial lead as we faced recession, idle capital accumulation, and mass unemployment. The US became a deficit economy after that point.
Nixon, though he caused the original shock, originally wanted to keep the Bretton Woods system intact, but that was impossible after what he did.