Border Patrol agents rescued 15 illegal immigrants who were trapped in an open pit mine south of Tucson, officials said.

On Tuesday, Tucson Sector agents were tracking a group of illegal immigrant on the Duval Mining Co. property in Green Valley when the group entered the mine.

Agents climbed down to the group to make sure no one was hurt but then realized the loose soil lining the mine's edge would make it too dangerous to exit safely, according to a news release from Customs and Border Protection.

Search-and-rescue agents, know as BORSTAR, were called in to help rescue the immigrants using ropes.

The illegal immigrants were adult males from Mexico, Guatemala and Honduras.

No injuries were reported.