The outbreak infected more than eight-thousand people and killed nearly 800 , mostly in China , between late 2002 and mid-2003 .