Oil soared more than 10 percent on Wednesday to over $50 a barrel and its highest in a month as some of the worlds largest producers agreed to curb production for the first time since 2008 in a bid to support prices.

Crude prices rose nearly 5 percent for the month. However, they are unlikely to skyrocket further in reaction to the deal and the rally may even be short-lived, traders and analysts said.

The Organization of the Petroleum Exporting Countries, which accounts for a third of global oil supply, agreed to cut production from January by around 1.2 million barrels per day (bpd), or over 3 percent, to 32.5 million bpd.

The cut will put production at the low end of a preliminary agreement struck in Algiers in September, and will reduce output from a current 33.64 million bpd.

The groups de facto leader Saudi Arabia said it would take the lions share of cuts - reducing output by almost 500,000 bpd to 10.06 million bpd - to get the deal done.

Iraq, OPECs second largest producer which had previously resisted cuts, providing a hurdle to a deal, agreed to reduce output by 200,000 bpd to 4.351 million bpd.

Iran was allowed to boost production slightly from its October level. This was a major victory for Tehran, which has long argued it needs to regain market share lost under Western sanctions.

Non-OPEC member Russia, which had long resisted cutting output and pushed its production to new record highs in recent months, agreed to cut output by 300,000 bpd. OPEC will meet with non-OPEC producers on Dec. 9.