When Cat was three she had an imaginary friend.
Gradually she stopped talking to her imaginary friend.
She continued to have an imaginary friend until old age.
She continued to have an imaginary friend for several years.