How does the sentence end?

Sarah did not recognize Samantha in her costume at first, but then
Options are:
A). Sarah heard her speak.
B). Samantha heard her speak.
A).