Here's the answer:
“vivieron en China durante ocho años”
Watch a real native speaker say it:
Here's how it sounds in a textbook:
You could also say:
- vivieron en China ocho años
Fun fact: the hundreds of thousands of people learning Spanish with Memrise get this phrase correct 97.01% of the time!