The health insurer Aetna said on July 3, 2015, that it had agreed to acquire its smaller rival Humana for $37 billion in cash and stock[4] but walked away from the deal after a court ruling that the merger would be anti-competitive.[5]