A magnitude-4.0 earthquake struck Horgos in northwest China's Xinjiang Uygur Autonomous Region, on Wednesday, according to the China Earthquake Networks Center.