It's OK, if you start the name with a capital letter and end the sentence with a full stop. Some people would prefer were to was, but most accept was these days in British English.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.