He gave his life for his country, but not before finding out he was going to be a father. Now, the soldiers who served alongside Chris Harris were able to take part in the gender reveal of his unborn child thousands of miles away while still serving in Afghanistan.

Chris and Britt Harris were married for less than a year when Chris was killed by an improvised explosive device. One week before his death, he found out he was going to be a dad, ABC News reported.

RELATED: Military mom hides pregnancy, surprises husband when he gets home from deployment 

Chris, who was an only child, considered the members of the 2nd Battalion, 504th Infantry Regiment, 1st Brigade Combat Team, 82 Airborne Division, not just fellow soldiers, but also his brothers.

Britt decided to keep those brothers part of her family, allowing them to be the first to know whether she was having a boy or a girl.

She shipped confetti poppers that contained the appropriate color of paper.

The soldiers lined up in front of a flag, ready to find out together.

One of the servicemen, Joel Crunk, posted, “Chris Harris laid down his life for our country. His newly wed wife was expecting their first child. The reveal is in Afghanistan with the men who fought by his side. We are happy to welcome the new member of our company.”

The men ended up in a cloud of pink paper.