DiCaprio has funded environmentally-focused tech companies before.

Rubicon Global CEO Nate Morris-who landed on Fortune’s list of40 under 40in 2014-told Fortune last month that the company been eyeing an IPO and recently brought on new CFO John Bax, who was formerly the CFO of LivingSocial.

In addition to the funding details, the company says it has brought on political strategist, and recent Uber advisor, David Plouffe to its board of advisors.

The company’s app, which is supposed to be available in select cities by the end of the year, will offer on-demand trash pick up, similar to how the Uber app can provide a ride service.

The company will spend the two funding rounds to expand its current business and branch out into the consumer market with its Uber-style app.

Morris told Fortune last month that the company has doubled in size every year for the past three years.

The company now has 60,000 locations where its network of trash haulers can pick up garbage or recycling.