SCHENECTADY, N.Y. -- A Buffalo man is behind bars in connection with a bank robbery in Schenectady.

Police say James Hamilton, 45, passed a note to the teller Tuesday afternoon at the Key Bank on State Street and left some cash.

Police said a parking enforcement officer then spotted Hamilton running near Erie Boulevard and contacted responding police officers.

Hamilton is set to be arraigned Wednesday morning.