Brent R. Taylor at Dover Air Force Base, Del., on Tuesday, Nov. 6, 2018.
The death of Brent Taylor, 39, of North Ogden, Utah, marks the third US death at the hands of the Afghan National Security Forces (ANSF).
In his final Facebook post on October 28, Taylor encouraged everyone to vote and all for unity.
Maj. Gen. Jefferson Burton said Taylor was also serving under NATO Operation Resolute Support.
The wife of a Utah mayor who died while serving in Kabul has received a letter from an Afghan military officer describing how her husband "taught me to love my wife as an equal and treat my children as treasured gifts".
"I do believe that Major Taylor felt he was among friends, with people he was working with".More news: Keystone XL Pipeline: US judge orders halt on construction
Taylor's widow and mother of his seven children, Jennie Taylor, arrived at Dover Air Force Base in DE on Monday to meet her husband's body.
An Army carry team loads into a vehicle a transfer case containing the remains of Maj. His remains are expected to arrive in the U.S. on Tuesday.
"I am heartbroken at the loss of Major Brent Taylor". Abdul Rahman. "He died on our soil but he died for the success of freedom and democracy in both of our countries".
"It seems only fitting that he has come home to United States soil in a flag draped casket on our Election Day, ' Jennie said, acknowledging the post about Americans" "precious" right to vote. That honour has been Brent's as he served in the Utah National Guard for the past 15 years. "And it has been mine just as long as I have proudly stood by his side".
"And it has been and will continue to be the great honor of our seven children for the rest of their lives and I pray for many generations to come", she said. I served alongside your husband, MAJ Brent Taylor. In his last message that I shared on my Twitter, he awakened not only Americans, but the world to the values of democracy and freedom.
"I hope everyone back home exercises their precious right to vote", he added.More news: Ariana Grande performs 'Thank U, Next' in a wedding dress
Whether Republicans or Democrats prevail in the mid-terms, he wrote on Facebook, he urged everyone to "remember that we have far more as Americans that unites us than divides us".
May God forever bless America.
Taylor, 39, died Saturday while on a foot patrol when an Afghan soldier shot him. According to the Department of Defense, Taylor, 39, of Ogden, Utah, died November 3, 2018, in Kabul province, Afghanistan, of wounds sustained from small arms fire.
USA military officials say another service member whose name hasn't been released is being treated for wounds sustained in the attack.
The city of North Ogden has a few options for replacing Mayor Taylor. He temporarily stepped down as mayor to deploy to Afghanistan with the Utah Army National Guard, according to his biography on North Ogden's website.More news: Oil tanker rams into Norwegian frigate, leaving eight injured