BUFFALO, N.Y. (AP) — Federal officials have granted asylum to an Afghan military officer who along with two comrades slipped away from a U.S. training exercise in Massachusetts to avoid being sent back home.

Matthew Borowski, the Buffalo-based immigration lawyer for Maj. Jan Arash, says the Board of Immigration Appeals recently granted the request, six months after an immigration judge denied asylum.

READ MORE: I-Team: Mass General Brigham Nurses Concerned About Limited Supply Of N95 Masks

Arash and two Afghan military captains left a training exercise on Cape Cod last September and took a cab more than 500 miles to the Canadian border at Niagara Falls, where they were detained.

Three missing Afghan soldiers were last seen at the Cape Cod Mall. (Photo by Ken MacLeod)

Three missing Afghan soldiers were last seen at the Cape Cod Mall. (Photo by Ken MacLeod)

READ MORE: Massive Wind-Whipped Fire Spreads To Several Salisbury Buildings

The officers said they feared being sent back to Afghanistan because they had been threatened by the Taliban.

One of the other officers was allowed into Canada in December. The third officer’s asylum case is pending.

MORE NEWS: Hunter Henry Looking To Build Off Successful -- And Healthy -- First Season With Patriots

Copyright 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.