Original: Sarah Jane Smith and K-9 Mark III returned in the 2006 series episode "School Reunion".
Simplified: K-9 Mark III and Mark IV were presents of the Doctor to Sarah Jane Smith.