Hi everyone,
Am I correct to understand that we put "last" before the main verb and if we have "to be" we put "last" after it?

1. "He was last here in 1994."
2. "He last came here in 1994."
3. When I last saw him.
4. When I was last there. (When I last was there.) (not sure about this one)

Thank you.