(CNN)  -- A man who rescued a co-worker from the jaws of a crocodile in northern Australia also accidentally shot him in the process, police said.



A mature saltwater crocodile in the the murky waters of the Adelaide River, near Darwin in the Northern Territory.



The two men were collecting crocodile eggs by a river bank in Australia's Northern Territory Tuesday when a crocodile grabbed Jason Grant by the lower right arm, a spokeswoman for the area police told CNN.



The second man, Zac Fitzgerald, shot the crocodile, causing it to let go of Grant's arm. But a second shot that Fitzgerald fired struck Grant in the upper right arm, said Northern Territory police spokeswoman Katie Fowden.



Grant, who is in his late 20s, was flown to a hospital for treatment of both the bullet and the crocodile wounds. His injuries were not life-threatening, Fowden said.



The two men are workers at a crocodile farm in Darwin, the capital city of the Northern Territory. They were collecting the eggs legally, police said. E-mail to a friend



CNN's Saeed Ahmed contributed to this report
The men were collecting what on the river bank in the Northern Territory?
crocodile eggs