It's simple, he ended it by negotiating for two weeks.
Explanation:
By the end of August 1877, the strike had ended primarily due to federal government intervention, the use of state militias, and the employment of strikebreakers by the Baltimore & Ohio Railroad Company. The Great Railroad Strike was typical of most strikes during this era.
What are interstate compacts, and what part is played by the national government in these agreements? They are written agreements to settle disputes between two or more states.