A man who was released from prison two weeks ago attempted to break into an Ypsilanti home Monday afternoon, carrying a bag containing handcuffs, latex gloves, a spring-loaded baton and burglary tools, city police said.

A 38-year-old resident who lives in the 1300 block of Sherman Street called police at about 1:26 p.m. as the man was attempting to pry open his back door, a police press release said.

Officers approached the home from the front and back and caught the man after a short foot chase, police said. He did not gain access to the home, police said.

The 27-year-old man was released from prison two weeks ago after serving time for home invasion and had been living in an Ann Arbor hotel, the release said. Prior to serving time, he lived in the Ypsilanti area.

Police said the man later confessed. He is awaiting arraignment at the Washtenaw County Jail.