A U.S. Army Ranger from New Hampshire who was killed earlier this month in Afghanistan was remembered at his funeral as a dedicated soldier.

READ MORE: Hopkinton High School First In State To Drop Mask Mandate

Twenty-three-year-old Sgt. Andrew Nicol of Kensington died Aug. 8 after being wounded by an improvised explosive device in Kandahar Province. Nicol served five tours in Iraq and Afghanistan and earned a Medal of Valor in 2008. He also was awarded two Bronze stars.

READ MORE: Pfizer Says Its COVID-19 Vaccine More Than 90% Effective In Kids Ages 5-To-11

His funeral was held Wednesday morning at Holy Family Parish in Amesbury, Mass. He will be buried at the New Hampshire State Veterans Cemetery in Boscawen at 4 p.m.

MORE NEWS: Tufts University Student Dies After Choking On Hot Dog In Charity Event Contest

Gov. John Lynch has directed that flags on all state buildings be lowered to half-staff on Wednesday to honor Nicol.