The idea of cy pres (pronounced "see pray" or "sigh pray," from the French cy pres comme possible--"as near as possible") originated in the trust context, where courts would reinterpret the terms of a charitable trust when literal application of those terms resulted in the dissolution of the trust because of impossibility or illegality.