Rochdale missed the chance to go top of the National League after Josh Hmami fired Halifax to a 2-1 victory at the Crown Oil Arena.
Hmami gave the visitors the lead four minutes before half-time when he controlled Will Harris’ header before hitting the target.
The second arrived in the 54th minute when Angelo Cappello supplied Jamie John Cooke whose pass to the far post was nudged home by Hmami.
Devante Rodney hit back with a great 60th-minute finish against the club where he spent two loan spells.
But Rochdale’s six-match winning run came to a crashing halt to leave them second, now two points behind Forest Green.
Subscribe or register today to discover more from DonegalLive.ie
Buy the e-paper of the Donegal Democrat, Donegal People's Press, Donegal Post and Inish Times here for instant access to Donegal's premier news titles.
Keep up with the latest news from Donegal with our daily newsletter featuring the most important stories of the day delivered to your inbox every evening at 5pm.