Oil fell on Friday and posted a second straight weekly loss as pressure from weak industrial growth in China countered news that U.S. consumer confidence hit a four-year high.

Brent crude’s 6.2 percent slide in the past two weeks was the biggest two-week percentage loss since Dec. 16. U.S. crude fell 8.4 percent the past two weeks, its largest since Sept. 30. Crude prices felt early pressure from data showing China’s industrial production in April grew at its slowest pace in nearly three years.