Maurice P. Lucchesi, who reinvented himself as a U.S. Census Bureau computer programmer after closing his family’s delicatessen in Washington after he was shot in a 1965 robbery, died Jan. 1 at Holy Cross Hospital in Silver Spring. He was 95.

The cause was congestive heart failure, said his son Rob Lucchesi.

The son of Italian immigrants, Maurice Paul Lucchesi was born in Washington and graduated from McKinley Technical High School in 1937. He spent his early career helping to run his family store on Florida Avenue in Northwest and closed the business after he was shot.

Mr. Lucchesi learned computer programming through a U.S. government training program and then spent 20 years at the Census Bureau. He retired in 1987.

He was a resident of Riderwood retirement community in Silver Spring and a member of Mount Calvary Catholic Church in Forestville, Md..

His wife of 56 years, Corine Chatham, died in 2009.

Survivors include three sons, Michael Lucchesi of Waldorf, Md., Steve Lucchesi of Ellicott City, Md., and Rob Lucchesi of Washington; and six grandchildren.

— Samantha Raphelson