Who signed a peace treaty in 812/822 CE?