GOSHEN – Hudson Valley SPCA officials and police raided a farm in the Town of Goshen Saturday and seized 27 goats, some of which were so malnourished and sick they were days away from death, SPCA officials said.

Some of the goats were 30 pounds underweight, SPCA veterinary technicians said, and bones in their hindquarters were showing through their coats.

“Right now, they were on their feet, but if we had come a little later, they wouldn’t have made it,” said SPCA volunteer Jessica Pykosz, a farmer, as SPCA veterinary technicians tagged the goats and treated them with antibiotics. “I’ve been a farmer for 40 years and it was pretty bad.”

Many of the goats at the farm, which is off Orzeck Lane in the Pellets Island section of town, were suffering with anemia, diarrhea and hoof rot, said Melanie DiRaimondo, one of the SPCA veterinary technicians. “They were full of parasites,” DiRaimondo said.

SPCA officials said the goats were kept in a chicken-coop type structure, and an outdoor pen, but water was scarce and they weren’t fed properly. Gene Hecht, chief of the Hudson Valley SPCA’s Humane Law Enforcement Division, said the goats were fed chopped bamboo shoots, and they weren’t allowed to graze.

“People will say goats will eat anything but they really don’t,” Hecht said. “They can’t survive on those shoots. They can choke on that stuff.”

The Hudson Valley SPCA’s Division of Humane Law Enforcement, working with Town of Goshen police, moved on the farm shortly before 9 a.m. Saturday. Hecht said they used two herding dogs, a Border collie and an Australian shepherd, to round up the goats. Then they evaluated each goat, tagged them, and put them in a livestock trailer, to be sent to Pykosz’s farm in Loch Sheldrake for rehabilitation. The goats ranged in age from six months to about 2 years, the SPCA veterinary technicians said.

Hecht identified the owner of the farm as Ping Yan, 62, of Lynbrook, on Long Island. Yan was charged with 28 counts of failure to provide food, water and sustenance to animals under New York state’s Agriculture and Markets Law. That accounts for the 27 goats and a malnourished calf that was also found on the farm, Hecht said.

Hecht notified Yan before Saturday’s raid began, and when Yan arrived at the farm, Hecht notified him of the charges and served an appearance ticket. He’s due in Goshen Town Court Sept. 26. On Saturday, Yan said he had not retained an attorney yet. Hecht said the SPCA started investigating the farm after someone filed a complaint.

Yan said he relied on a caretaker to feed the animals because he does not live onsite. He said he purchased food for the goats, but the caretaker did not feed the animals. After Hecht served the papers Saturday, Yan took him to a barn and showed him bags of feed.

“Goats can’t get into a locked barn,” Hecht said.