The town’s history dates back to 1024 and in 1125 Yury Dolgoruky made Suzdal the capital of the Rostov-Suzdal principality. Suzdal began to function as a capital at the time when Moscow was still a cluster of cowsheds. In 1157 Andrei Bogolyubsky moved the capital from Suzdal to Vladimir, from which time the principality was known as Vladimir-Suzdal. Set in a fertile wheat-growing area, Suzdal remained a trade centre even after Mongol-led invasions. Eventually, it united with Nizhny Novgorod until both were annexed by Moscow in 1392.