SandRidge Energy is pulling out of its offshore drilling venture.

The Oklahoma City–based oil and gas company said Tuesday it has agreed to sell its Gulf of Mexico energy assets to Fieldwood Energy, a portfolio company of private equity firm Riverstone Holdings, in a deal worth about $1.12 billion.