Wyatt “Chicago” Hayes argued over drugs and possibly a bicycle with Darryl McDavis before fatally shooting him at close range last summer.

Hayes then allegedly rode away on McDavis’ bicycle and disappeared.

Last week, he was stopped on Interstate 75 some 35 miles east of Chattanooga, Tenn., after a drug investigator noticed he was driving erratically.

Hayes, who was identified as a “person of interest” a few days after the broad daylight shooting July 18 at East Ferry and Stevens streets, lied to Tennessee Sgt. Matt Bales about his identity, authorities said.

It did not work.

Bales was suspicious and investigated further, discovering Hayes’ true identity and the fact that Hayes was wanted in connection with the Buffalo murder.

On Thursday at the Bradley County Jail in Cleveland, Tenn., Buffalo Homicide Detectives Patricia Wrest and Christopher Sterlace interviewed him, and he confessed to the slaying, officials said.

On Friday, Hayes, 34, of Buffalo, was brought before a Tennessee judge and waived his extradition rights.

Hayes is expected to be returned here early next week to be arraigned on a second-degree murder charge in Buffalo City Court, Chief of Detectives Dennis J. Richards said.

Hayes was originally charged with criminal impersonation Oct. 24, but when Bales determined that Hayes was wanted by Buffalo police, that charge was dropped, and he was held as a fugitive from justice.

How Hayes ended up in Tennessee is not yet known, but police say his nickname, “Chicago,” came from his being born in that city.