Gen. Jefferson S. Burton. He was also the mayor of North Ogden, Utah.
A GoFundMe page has been set up for Taylor's family.
The attack was the latest in a series of "green-on-blue" incidents in which members of the Afghan forces have killed USA or coalition advisers this year, and it followed the death of a Czech soldier in the western province of Herat last month.
The death of Brent Taylor, mayor of North Ogden and a member of the Utah National Guard, was confirmed by Utah Lieutenant Governor Spencer Cox, who posted a tribute on Facebook.
Residents of North Ogden, a community of about 18,000 people, north of Salt Lake City, remembered Taylor as a leader and mayor willing to listen. "Very forward-thinking. He accomplished great things for our city".
Calling Brent Taylor "a man of excellence", Utah National Guard Maj.
'I am proud of the fearless Afghan and U.S. soldiers I serve with.
Chugg told NPR that he was devastated to learn yesterday that Taylor had been killed. From right to left in the foreground, North Ogden City Councilman Phillip Swanson, North Ogden City Attorney Jon Call and Toby Mileski of Pleasant View.
The U.S. Army says that Taylor was shot by a member of the Afghan military, who was then immediately killed by other Afghan forces.
The mission Taylor was aiding, Operation Freedom Sentinel, aimed to bolster the Afghan national army to enable forces there to better control their own country.
Herbert noted it is military protocol to wait 24 hours after contacting next of kin before publicly identifying a fallen service member, but acknowledged tributes to Taylor had already begun spreading on social media the day before.
Another U.S. service member sustained injuries in Saturday's incident, but Burton understands the unidentified person is recovering.
Chugg said that townspeople are reeling from the mayor's death.
The Afghan government now controls or influences 55.5% of the country's districts, marking the lowest level recorded since the special inspector general for Afghan reconstruction began tracking district control in November 2015, the report said. "He was a man of faith, very devoted to his church". "He is just one of the good guys, who had an incredibly bright future ahead of him".
Other Utah politicians shared their sorrow about the news.
Taylor leaves behind a wife and seven children, and a town that grieves their popular mayor.