Omnicare Inc. and McKesson Corporation have signed an expanded agreement to include the sourcing and distribution of branded, specialty and generic pharmaceuticals.

The new five-year agreement, which extends through December 2019, “creates efficiencies for both companies by leveraging the strength of Omnicare as the nation’s largest institutional pharmacy and a leading specialty pharmaceutical services provider and McKesson as a global leader in pharmaceutical sourcing and supply chain management,” the companies said.

McKesson will now oversee the sourcing and distribution of generic pharmaceuticals for Omnicare as part of McKesson’s OneStop generics program.

Omnicare and McKesson have partnered for a decade.