(CNN) -- It was the best of times in 2004, when attorney Dave Dineen graduated from Boston University School of Law and landed a job at a top Massachusetts corporate firm, Foley Hoag LLP.





Attorney Dave Dineen at his new job at Greater Boston Legal Services.





By 2007, the National Association for Law Placement was reporting the most promising year in two decades. Nearly 92 percent of graduating attorneys were employed, and the median starting salary at private practices had increased by $13,000 --to a total of $108,500 a year.





But times have changed.





In the worst economic crisis since the Great Depression, the legal industry is taking an unprecedented beating from the sputtering economy and housing meltdown. Dineen, 37, lost his job as layoffs and salary freezes have spiked at law firms across the country during the past three months.





Rather than just hand out a severance package with the pink slip, Foley Hoag gave Dineen an option. He could work for Greater Boston Legal Services, a legal aid group serving people living in poverty. The firm agreed to pay Dineen about a quarter of his former salary for a year. Dineen, who needed to support his wife and a newborn daughter, accepted.





"This gave me a chance to do something different with my legal career, and help out people who generally don't  have access to public service," said Dineen, who now works on foreclosure cases helping victims of predatory lending.





Foley Hoag is among many megafirms across the country using the economic slump as an ideal time to lend a hand to cash-strapped public interest and legal aid firms. The massive corporate layoffs and program cuts could redirect thousands of young graduates and experienced attorneys from corporate firms into the public sector, legal experts say.





Once insulated, law firms are shedding young and mid-career associates at extraordinary rates. This is especially true at large corporate firms that overestimated their growth and extended too many offers to associates last fall.





White & Case LLP, a leading global firm with headquartes in New York, made a second round of cuts last week. In addition to about 70 associates laid off in November, the firm last week let go of another 400 people, including 200 attorneys. Other well-known firms such Heller Ehrman LLP and Thelen Reid & Priest LLP on the West Coast have gone bankrupt in recent months.





At least 2,149 attorneys have been laid off in 2009, bringing the total to 3,045 since January of last year, according Lawshucks.com, an industry Web site tracking the slump. Hundreds more associates set to start jobs this fall are bracing themselves for rescinded offers and deferred start dates. Some students are finding their summers wide open as law firms like Luce Forward, based in California, have canceled internship programs.





Amid all this dark news, there might be a silver lining. It could transform the legal profession.





"There is a once-in-a-lifetime opportunity coming out of a difficult situation," said Esther Lardent, president of the Pro Bono Institute in Washington D.C., who began discussions this month with at least 15 corporate firms nationwide about placing unemployed attorneys in public interest firms. The project will get under way in a few months, she said.





Other firms have already encouraged attorneys to go into the public sector. Just last week,  one of the largest firms in the country -- Morgan, Lewis & Bockius LLP, based in Philadelphia, Pennsylvania -- announced it will pay deferred associates graduating in 2009 a $5,000 monthly stipend for one year if they secure a job in the public interest field.





International law giants Latham & Watkins LLP and Orrick, Herrington & Sutcliffe LLP offered incoming associates who defer employement until October 2010 a $75,000 compensation package. While working in public service isn't mandatory for Latham & Watkins associates, the firm said there was a "sincere hope" the deferred associates would "use the intervening period to pursue a community service or other public advocacy projects of their choosing."





Such deferral plans can save the companies about $100,000 per associate, and law experts expect the list of firms enacting deferral
According to Lawshucks.com at least how many attorneys have been laid off in 2009? How many attorneys were laid off in 2009? One firm will pay deferred associates how much  to work in the public sector? Where are private firms trying to place unemployed attorneys?
2,149 At least 2,149 $108,500 a year. public sector,
question: According to Lawshucks.com at least how many attorneys have been laid off in 2009?, answer: 2,149 | question: How many attorneys were laid off in 2009?, answer: At least 2,149 | question: One firm will pay deferred associates how much  to work in the public sector?, answer: $108,500 a year. | question: Where are private firms trying to place unemployed attorneys?, answer: public sector,