was...因为后面是had所以就用was..
The boy is ill and has to see a doctor.
The boy was ill and had to see a doctor.