Oil rallied again with benchmark Brent crude having its largest two-week gain in 17 years, as falling oil rig counts and violence in producer Libya helped further stall a selloff that began in June.
Crude prices have risen nearly 20 percent over the past six sessions, but remain about 50 percent below their peak from the middle of last year due to worries of a global oil glut.
Brent futures posted a 9 percent gain on the week, their biggest since 2011, and 19 percent over two weeks, the largest since 1998.
US crude oil futures have seen daily price swings of up to 9 percent since last week as bulls and bears squared off positions on mixed signals about crude supplies. Many analysts think the market will remain oversupplied through the first half while falling rig counts and reduced exploration budgets at oil firms suggest to some that the glut may be overcome faster.
The worldwide count for oil drilling rigs fell by 261 in January, oil services firm Baker Hughes said. The average number of US oil rigs fell by 199 in January. This week, another 83 US oil rigs went offline, Baker Hughes said.
Brent settled up $1.23 or 2.2 percent at $57.80 a barrel. US crude closed up $1.21, or 2.4 percent, at $51.69.
Aside from the rig count data, the market was bolstered by fighting across Libya. Stronger-than-expected US jobs growth in January helped as well, though the data also raised expectations that a US rate hike may happen as soon as mid-year.