The man who had attacked a series of Asian women and was discovered hanging in an Upper East Side building Monday, had the the weapon he used at his feet and a note confessing to the crimes, according police.

A hammer in a bag, along with a cellphone and a suicide letter admitting to the attacks were found at the feet of the body of Tyrelle Shaw in the basement of the Madison Avenue building, according to Chief of Detectives Robert Boyce.

“We believe that hammer was used in the bag [in previous attacks], that was the object he was using,” said Boyce. “It’s a strange case to say the least and now it’s over.”

Shaw, who allegedly approached four Asian women and bashed them in the face with ca hard object, went by the name “Mr.Talented” on his blog, where he would rant about his rejections by Asian women.

He wrote that he would “bash 1 million noses,” of Asian women and threatened to commit suicide.

An ex-girlfriend told The Post last week that he sent her a video of himself wearing a noose around his neck and wrote about killing himself in online posts.