Facing plummeting funding, Legal Services of Greater Miami Inc. felt compelled to sell its biggest asset—its 57,000-square-foot headquarters at 3000 Biscayne Blvd. in Miami.

The agency that provides legal help to poor clients last month sold the building it has occupied for 20 years to 3000 Property LLC, which is managed by principals of Miami-based real estate firm Crescent Heights, for $19.2 million. The buyer intends to use the space in Miami’s Edgewater neighborhood to develop 227 residential units.