During the Ming and Qing dynasties, Suzhou was a prosperous city due to silk production and agriculture. Many of the highly educated official literati built private gardens as an art form considered on an equal footing with painting and literature. The best designs were copied for Imperial gardens in Beijing following Emperor Qianlong's visit.