On September 7, 1901, the Boxer Protocol was signed between the Qing Dynasty of China on one side and eight Western Powers and Japan on the other. The treaty ended the Boxer Rebellion in China. Among other clauses, it levied an indemnity on China and allowed foreign troops to be stationed in Peking.