Reunited once again under the Northern Song dynasty, China maintains complicated relationships with the Liao in the northeast and the Xixia in the northwest. The former is overcome by the Jurchen, whose Jin dynasty controls North China while the Song continues to rule the south. Both succumb to the Mongols who rule China—as the Yuan dynasty—from 1271 until the establishment of the Ming in 1368. Despite harsh political realities, the Song dynasty is a brilliant era, shaping Chinese culture for centuries. The monumental landscape painting of the Northern Song and the quieter evanescent images of the Southern Song serve as models for later artists, as does the quest for self-expression that marks the Chinese literati under Mongol rule. Ceramics, both green-glazed celadon wares of the Song and the porcelains painted in underglaze blue during the Yuan, profoundly influence traditions throughout Asia. Metalwork, lacquer, textiles, and other luxuries are produced for domestic consumption and trade.