The three-month strike by the Fort Worth Symphony Orchestra has ended after an anonymous donor gave the orchestra $700,000 to help close a projected deficit that had led management to seek pay cuts from the musicians.

The donation allowed the two sides to agree on a new four-year contract, which was ratified by the musicians on Wednesday, without the cuts that management had sought. And it helped close the book on a tumultuous period in which orchestras in Fort Worth, Philadelphia and Pittsburgh went on strike, raising new questions about the financial health of classical music.

“We are incredibly moved by the generosity which has made this agreement possible,” Dan Sigale, a violist who is chairman of the musicians’ negotiating committee, said in a statement.

The new contract will keep the musicians’ pay at its current levels for the first two years — their minimum salary is now $54,953 a year — followed by a 2 percent raise in the third year and a 2.5 percent raise in the fourth year. They will continue to be paid for a 46-week season, but their vacation will be reduced to 28 days from 35.