Uber Technologies Inc. won approval to serve as a business vendor to the U.S. government, allowing the company to vie for an estimated $810 million in spending over the next five years.

Politicians and campaigns have for years relied on Uber for rides to and catering for their events, but the decision Monday is the first clearance for federal agencies to sign contracts with the company. It’s a rare bright spot as Uber struggles to adjust to the effects of COVID-19.

Ride demand has tanked since last month and upended growth plans for the business. Uber previously anticipated it would deliver a quarterly profit by the end of the year. On Friday, the San Francisco-based company yanked its 2020 forecast and said it will write down the value of its minority investments by about $2 billion.

Uber has been looking to add new sources of revenue to make up for the sharp decline in ridership. The company said this month it’s accelerating the rollout of an option for businesses to deliver meals to their employees at home. This week, Uber said it’s expanding a courier service for customers and product delivery from stores.

The government clearance removes a substantial hurdle for selling to agencies, but revenue isn’t assured. The U.S. expects to spend $810 million through 2025 on ride-hailing services, according to an Uber spokesman, citing an estimate by the General Services Administration. Uber must compete for those contracts.