Oil prices slipped on Wednesday from four-week highs after a surprising increase in crude inventories. However, the market was underpinned by statements from top exporter Saudi Arabia, which said it was determined to end a three-year supply glut.
U.S. government data showed substantial drawdowns in gasoline and distillate fuel inventories headed into the winter fuel season. That and an increase in U.S. refining output buoyed hopes for a draw in crude inventories in coming weeks.
U.S. West Texas Intermediate crude ended Wednesday's session down 29 cents to $52.18, after closing at a six-month high in the previous session.
Brent crude futures were up 2 cents at $58.35 a barrel by 2:24 p.m. ET (1824 GMT), having closed up 96 cents or 1.7 percent on Tuesday.