U.S. crude for June delivery settled down 41 cents, or 0.9%, at $47.75 a barrel on the New York Mercantile Exchange. Prices rose 3.3% this week and are up 6.9% in the past two weeks.

Brent, the global benchmark, fell 9 cents, or 0.2%, to $48.72 a barrel on ICE Futures Europe. Prices rose 1.9% this week and 7.4% in the past two weeks.

Production outages around the world have fueled gains in oil prices in recent weeks, chipping away from the oversupply that has plagued the market for nearly two years. Wildfires in Canada have taken some oil fields there out of commission, while disruptions in Nigeria and Libya have also given prices a lift.