Authorities now say border patrol agent Nicolas Ivie, 30, who was shot dead during a shootout was a victim of friendly fire

A preliminary investigation has found friendly fire likely was to blame for the death of one federal agent and which wounded another along the Arizona-Mexico border, the FBI said on Friday.

'There are strong preliminary indications that the death of United States Border Patrol Agent Nicholas J. Ivie and the injury to a second agent was the result of an accidental shooting incident involving only the agents,' FBI Special Agent in Charge James L. Turgal Jr. said in a statement.

Turgal didn't elaborate on the agency's conclusions but said the FBI is using 'all necessary investigative, forensic and analytical resources' as it investigates the Tuesday shooting about five miles north of the border near Bisbee.

Ivie was killed after he and two other agents responded to an alarm triggered by a sensor aimed at detecting smugglers and others entering the U.S. illegally.

One of the other agents was shot in the ankle and buttocks, but was released from the hospital after surgery. The third agent was uninjured.

The Cochise County Sheriff's Office, which is assisting the FBI in the probe, said federal investigators used ballistic testing to determine the shootings likely were the result of so-called friendly fire among the agents.

Jeffrey D. Self, commander of Customs and Border Protection's Joint Field Command-Arizona, said investigators were making progress and noted the initial findings that the shootings appeared to be accidental didn't diminish the fact that Ivie 'gave the ultimate sacrifice and died serving his country.'

'The fact is, the work of the Border Patrol is dangerous,' Self said during a news conference Friday in Tucson.

Shot at: The agents were fired upon in a rugged hilly area about five miles north of the border as they responded to an alarm that was triggered on one of the sensors installed to alert possible breaches

While federal authorities declined to offer details of the shooting, George McCubbin, president of the National Border Patrol Council, said the three agents split up as they investigated the sensor alarm, noting they all fired their weapons.

'Coming in from different angles, that is more than likely how it ended up happening,' McCubbin told The Arizona Republic of the shootings.

'Smuggling country': Agents from multiple government agencies worked together on the search in the rugged countryside known as a 'smuggling corridor for many, many years'

After a meeting of border governors Friday in Albuquerque, N.M., Arizona Gov. Jan Brewer stood by the criticism she leveled earlier this week in response to the shootings in which she said a political stalemate and the federal government's failures have left the border unsecured and Border Patrol agents in harm's way.

'It's the federal government's responsibility to secure our border, and they need to do that, and then we can deal with all the other issues that have come about because our border hasn't been secured,' said Brewer, who plans to attend Ivie's funeral Monday in Sierra Vista.

The Border Patrol couldn't immediately comment on the frequency of friendly fire shootings involving its agents. But such incidents appeared to be extremely rare, if they've ever occurred at all.

'Friend to everybody': Mr Ivie's family held a press conference, describing the man survived by his wife and two children. His brother Rick Ivie said: 'There was not a bad bone in his body'

Reeling: This is the first fatal shooting of a border patrol agent since 2010, as the only other deaths have due to car accidents

'I know of absolutely none in the past, and my past goes back to 1968,' said Kent Lundgren, chairman of the National Association of Former Border Patrol Officers, citing the year he joined the agency. 'I'm not saying it never happened. I'm just saying I've never heard of it.'

Also Friday, Homeland Security Secretary Janet Napolitano traveled to Arizona to express her condolences to Ivie's family and meet with authorities. The family did not return calls from The Associated Press on Friday.

At work: Mr Ivie was shot near the Brian A. Terry Border Patrol Station where he worked in Arizona near the U.S.-Mexican border

Fatal shooting: The station was only recently named after Brian Terry who died during a shootout with bandits in 2010

Ivie's death marked the first fatal shooting of an agent since a deadly 2010 firefight with Mexican bandits that killed U.S. Border Patrol Agent Brian Terry in December 2010 and spawned congressional probes of a botched government gun-smuggling investigation.

Terry's shooting was later linked to that 'Fast and Furious' operation, which allowed people suspected of illegally buying guns for others to walk away from gun shops with weapons, rather than be arrested.

Authorities intended to track the guns into Mexico. Two rifles found at the scene of Terry's shooting were bought by a member of the gun-smuggling ring being investigated. Critics of the operation say any shooting along the border now will raise the specter that those illegal weapons are still being used.

Twenty-six Border Patrol agents have died in the line of duty since 2002.