After the Arrow ship incident, the French and the Britsh tried to go to Beijing, but the Qing dynasty Emperor denied access. A battle ensued, which forced the retreat of Western forces from near Beijing. In 1860, a mass of British and French forces captured Yantai, Dalian and Teinstin. Afterward, they proceeded to march to Beijing again, which they captured on October 6. The Chinese ratified the Treaty of Tianjin in 1860, which effectively ended the war.