Either could be correct, depending on the circumstances. The second needs more, to be complete. The researcher had been observing the participant for three years when one of them decided to leave the experiment.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.