Wachtell, Lipton, Rosen & Katz is advising eBay on plans to spin off its payments system PayPal into its own independent, publicly traded company.

The eBay board had resisted a call made earlier this year by activist investor Carl Icahn to sell the unit, where revenues are growing at almost 20% annually, double the rate of eBay’s growth.