PENSACOLA, Fla. (AP) _ Twenty-seven pit bull dogs that were seized in a raid last month and helped run up a bill of more than $5,000 at the pound were put to death Thursday after a judge ruled they were trained for violence.

The dogs were among 46 that either were confiscated or were born later to the captives.

Escambia County Judge William Green ordered two of the animals returned to their owner because evidence failed to connect him to illegal dog fighting. The judge gave animal control officials the option of adoption for 16 puppies, including nine born after the Dec. 22 raid.

Jimmy Dykes, manager of the Escambia County Animal Shelter, gave the puppies and the mother a five-day reprieve to see if anyone wants to adopt the pups, but said he wouldn't recommend it because ''fighting's in their genes.''

The mother will be destroyed at the end of that time regardless of whether the puppies are adopted.

''It is ... clear that because these animals have been bred and trained for no purpose other than to viciously attack other animals, there is no reasonable alternative disposition of them other than to order that they be humanely destroyed,'' Green said in his ruling.

Most of the dogs must be kept in separate pens to keep them from fighting, Dykes said. They also have run up costs in excess of $5,717, including damage to the pens and veterinary fees.

The judge agreed to return two female dogs to Bruce Westfall, a Mobile, Ala., security guard who testified Tuesday that they were caught in the raid because he turned them over to another man, Robert Cox of Pensacola, for breeding.

Westfall said he used the dogs, Gretchen and Pebbles, for pig hunting and weight-pulling contests and knew nothing about fighting.

All of the original 37 dogs were seized at the home of Tommy and Ellen Peek in the Cantonment community north of Pensacola. The Peeks and Cox are in jail on cocaine trafficking charges.

Mack Plant, a lawyer representing Mrs. Peek, had opposed the destruction order sought by Escambia Sheriff Vince Seely. He said he was uncertain whether Green's ruling would be appealed but conceded it would be moot if the dogs are put to death.

Green advised the parties to file any appeal quickly.

The judge made his decision after inspecting the dogs and viewing confiscated video tapes of training sessions and dog fights.

''The evidence establishes without question that Tommy and Ellen Peek were raising and breeding pit bull terriers to actively engage in illegal and inhumane dog fights,'' Green wrote.

He said some people might argue the puppies' breeding makes them too dangerous to be adopted, but he said he was unprepared to rule out that option except to bar the Peeks, Cox and Westfall or any members of their families from receiving the animals.

Anyone adopting the puppies must supply identification that will be added to the court file, and will be advised of the dog's ''inbred propensities,'' Green wrote.