The Donglin movement was an ideological and philosophical movement of the late Ming and early Qing dynasties of China.