Sun Pharmaceuticals acquired Ranbaxy in a $4 billion all-share deal in 2014. This created the fifth largest specialty generics company in the world. The merger strengthened Sun Pharma's global footprint, distribution network, and portfolio in key therapeutic areas. It gained access to Ranbaxy's brands and markets in regions like the US, Europe, Brazil, Russia, and China. However, Ranbaxy had been struggling financially prior to the acquisition due to regulatory and legal issues.