The episode was entitled The Doctor's Daughter.
Tidbit: the woman who played the Doctor's daughter in that episode wound up marrying David Tennant (Doctor Who) in real life, and they have a daughter.
Yep, and the other cool twist, the ‘daughter’ Jenny is actually the daughter of Peter Davison, the 5th doctor.
So the doctor married his own daughter. :->