 On June 18 representatives from both sides signed the peace treaty aboard a British warship anchored off the coast of Qinhuangdao, agreeing to the general guideline suggested by the British consul.Shanhaiguan subsequently became the border between the two cliques, ending the First Zhili–Fengtian War with a resounding Zhili victory.The Fengtian clique retreated back to Manchuria, while the Zhili armies led by Wu Peifu took control of the central government in Beijing.