WASHINGTON — The New York Times will express regret for hurting the feelings of the family of a Texas soldier after publishing a photograph and a video showing him as he lay dying in Baghdad, the Houston Chronicle reported Friday.

The letter is part of an agreement reached Wednesday between the Times and the Army to resolve a controversy about the use of images of Staff Sgt. Hector Leija without his consent, the Chronicle reported.

The Chronicle published a statement by the Times: “The New York Times agreed to write a letter to Sgt. Leija’s family explaining the process we go through to notify families and why we run the articles and photographs we do, and expressing regret that the family suffered distress.”

According to the Chronicle, the decision came after a telephone discussion Wednesday between Times executive editor Bill Keller in New York and Army Lt. Gen. Raymond Odierno, commander of the Multi-National Corps – Iraq.

The images showed Leija after he was struck in the head by a single bullet during a patrol Jan. 24 in Baghdad, the Chronicle reported.

An article about Leija and others on patrol on Haifa Street, and a photograph of him on a stretcher hours before he died were printed Monday in the Times.

Sign Up for Daily Headlines

Sign-up to receive a daily email of today’s top military news stories from Stars and Stripes and top news outlets from around the world.

Sign up