As U.S. oil companies continued to slash the number of oil rigs running, those in Canada put both oil and gas rigs back to work this week.

The latest rig count, released May 13 by Baker Hughes Inc. (NYSE: BHI), shows the Canadian count jumped by seven to end the week at 43. Drillers in Canada added five oil rigs and two gas rigs compared to last week, bringing the count to 16 and 26, respectively. The count is still far from what it was a year ago. Back then, the Canadian rig count was 77.

The gains in Canada were also not enough to offset declines in the U.S. and Gulf of Mexico.

The U.S. rig count dropped to 406, down nine from last week. About this time last year 888 rigs were running. The U.S. picked up one gas rig this week, bringing the count to 87, but lost 10 oil rigs, ending the week at 318.

The Permian had the biggest drop—down five to 134. While the Ardmore Woodford, Barnett, DJ-Niobrara, Eagle Ford, Mississippian and the Williston each had one fewer rig operating this week.

The Haynesville was the only major basin that had more rigs operating this week compared to last week, gaining one to end the week at 13, according to the report.

Energy firms have sharply reduced oil and gas drilling since the collapse in crude markets began in mid-2014 as U.S. crude futures fell from over $107 a barrel (bbl) to hit a near 13-year low at around $26/bbl in February.

But with U.S. crude futures reaching a six-month high around $47/bbl a barrel earlier this week, some analysts forecast rig counts will stop declining soon and rise later this year as prices increase in coming months.

U.S. crude futures were fetching nearly $48/bbl for the balance of 2016 and over $49/bbl for calendar 2017.

Outages in Nigeria where militant attacks have contributed to declining output, and the aftermath of last week’s wildfire in Canada, have played a role in recent price fluctuations. About half of the oil sands typical daily production, or roughly 1 MMbbl/d of output, were shut down due to the fire that prompted the evacuation of about 90,000 people.

U.S. financial services firm Cowen & Co. expects oil and natural gas land rigs to bottom near current levels between 375 and 400 before increasing in the fourth quarter.

This article contains information from Reuters.