Hi

I am a bit confused on which words to use for these sentences.

For example, if I wanted to say
"It was her"
Do I say:
Это была она
or
Это была ее