A man rescued his colleague from the jaws of a crocodile in northern Australia but accidentally shot the unlucky co-worker in the process, police said Wednesday.

Two crocodile farmhands were collecting wild crocodile eggs on a riverbank Tuesday in Northern Territory when a crocodile snatched one of them, Jason Green, by the arm, the Northern Territory Police said in a statement.

"The male colleague shot at the crocodile, causing it to let go of the victim's arm, but a further shot hit the victim in the upper right arm," the statement said.

Green's employer, a crocodile farm in the northern city of Darwin, sent a helicopter that flew him to a Darwin hospital for surgery.

Police Commander Bob Harrison said Green's injuries were not life-threatening.

"He's going to be very sick and sorry and have a very good story to tell," Harrison told Australian Broadcasting Corp. radio.

Police could provide no information about the crocodile's condition.