When asking about people you use the question word wer.
When not asking about people, you use the question word was.