Relations broke down once more in 1067 with the ascension of Emperor Shenzong of Song, and in the 1070s the Song had considerable success in capturing Tangut territory. A mood of frontier adventurism permeated Shenzong's court, as well as a desire to reclaim territories he felt belonged to him as the rightful ruler of China; when a Song general led an unprovoked attack on a Western Xia border town, Shenzong appeared at the border to commend the general himself. To punish the Western Xia and damage their economy, Emperor Shenzong also shut down all commercial border markets along the Song-Western Xia border. The scientist and statesman Shen Kuo (1031–1095) was sent to Yanzhou (now Yan'an, Shaanxi province) in 1080 to stave off Tangut military invasion. He successfully defended his fortified position, yet the new Grand Councillor Cai Que held him responsible for the death of a rival Song military officer and the decimation of that officer's forces; as a result, Shen Kuo was ousted from office and the state abandoned the projected land that Shen was able to defend.