FAIRFIELD — The man who robbed a Webster Bank branch in May told cops he needed the money because he was getting married later that day.

Christopher A. Hankins, 24, of Huntington Turnpike, Bridgeport, was arrested on a warrant and charged with second-degree robbery and third-degree larceny for the May 20 robbery. He was being held on $25,000 bond.

Police said Hankins entered the bank at 1177 Post Road at around 9 a.m., and handed a note to the teller.

The note asked for $6,000 and said he did not want to hurt anyone. No weapons were shown during the robbery.

Hankins was given about $1,900 by the teller, but the money contained a red dye pack that exploded a short distance from the bank.

Detectives determined Hankins had been in the bank branch about two days earlier, and were able to obtain surveillance video of the car he was driving and a partial registration plate number.

From there, police were able to come up with a short list of suspects, and using surveillance videos from the robbery, narrowed in on Hankins.

Hankins turned himself in at police headquarters around 5:30 p.m. Wednesday.

According to police, Hankins said he robbed the bank that morning because he needed the money to get married at 1 p.m. that afternoon.

Police said they believe Hankins did go through with his wedding plans.