PHILADELPHIA — A galloping horse weather vane sold for about $20,000, and the cigar store Indians brought in more than $1 million. A Thomas Sully oil painting of Andrew Jackson netted $80,500, and a still life by Raphaelle Peale, part of the family that put portraiture in this city on the map, was auctioned at Christie’s for $842,500.

These were just a few of more than 2,000 items quietly sold by the Philadelphia History Museum over the last several years, all part of an effort to cull its collection of 100,000 artifacts and raise money for a $5.8 million renovation of its 1826 building.

In doing so the museum stepped into the quicksand of murky rules, guidelines and ethical strictures meant to discourage museums everywhere from selling collections to pay bills. It is one of the hottest issues in the museum world today. With budgets shrinking in a bad economy, the pressure to generate revenue is growing along with fears that museums are squandering public trusts meant to preserve the artifacts of the past for future generations.

The National Academy Museum in New York, Fisk University and Brandeis have all recently drawn fire — and even sanctions — for selling or planning to sell artworks, and none of them sold as many works as the museum here.