O'Sullivan strikes late for City
Cork City 3 Sligo Rovers 2
Mark O'Sullivan struck for an 88th-minute winner as Cork City moved back up to second place in the table.
When Sligo sub Kevin Devaney equalised on 75 minutes, it looked like it wouldn't be the hosts' night.
They surged forward in search of the three points, however, and O'Sullivan's second goal in as many games gave them the win.
Less than 30 seconds had elapsed when Karl Sheppard struck for the first of his two goals, slipping the ball past Richard Brush after Dan Murray's ball over the top. He could have doubled his tally when he stepped up to take an 11th-minute penalty after the excellent Gavan Holohan was fouled, but Brush saved.
A second did arrive for Sheppard on the half-hour. O'Sullivan's back-heel set Holohan away and he in turn fed Liam Miller. While his shot came back off the post, Sheppard was on hand to send the ball to the net.
John Russell's 38th-minute goal gave Sligo hope as he got a touch on Steven Beattie's low cross and in the second half, City were unable to extend their lead.
Devaney looked to have made them pay when he managed to prod home after a Russell corner, but O'Sullivan had the last word.
Cork City - McNulty; Kavanagh, Murray, D Dennehy, O'Connor; Healy, Miller; Djilali (B Dennehy 70), Holohan (Morrissey 82), Sheppard (Lehane 85); O'Sullivan.
Sligo Rovers - Brush; Keane (Cretaro 90), Boylan, Folan, Dykes (Ledwith half-time); Cawley, Wearen; Beattie, Russell, Puri (Devaney 70); Corcoran.
Ref - R Harvey (Dublin).