In the following year, a formal peace pact was signed. About a month later, Cixi left xi 'an at last.