How does the sentence end?

Sarah did not recognize Samantha in her costume at first, but then 
Possible answers:
(i) Sarah heard her speak.;
(ii) Samantha heard her speak.;
(i)