Complex sentence: The frontier management policies of the Chancellor Wang Anshi exacerbated hostile conditions along the Chinese-Vietnamese border, sparking a border war with the Lý dynasty, which was fought to a mutual draw and concluded with a peace treaty in 1082.
Split into simpler sentences: The frontier management policies of the Chancellor Wang Anshi exacerbated hostile conditions along the Chinese-Vietnamese border. This sparked a border war with Vietnam's Lý dynasty, which was fought to a mutual draw and concluded with a peace treaty in 1082.