Bohemians will meet Cork City in the semi-finals of the FAI Cup after they deservedly won at the Brandywell in a fascinating contest.

Keith Long's side continued their remarkable run of form as they defeated the Candy Stripes on their own ground for the second time in a month to keep their hopes of a final at the Aviva in November very much alive.

Derry had the first clear chance of the game on 11 minutes, but Ronan Hale saw Shane Supple save brilliantly at his near post.

Bohs were very nearly gifted the lead on 20 minutes when Kevin McHattie slipped just outside his own penalty area, and Daniel Kelly pounced, bearing down on Gerard Doherty's goal only to drive the ball across goal and wide of the far post. It was a let-off for the home side.

Encouraged by that, Bohs attacked again through Kevin Devaney and the Bohs man almost scored spectacularly from distance, his effort from 25 yards forcing Doherty to turn the ball around the post.

Bohs were the more adventurous of the teams in the first half and they got their reward just before the break as Devaney's corner found Dan Casey unmarked six yards from goal and he headed down past Doherty to give the visitors a deserved lead.

Derry emerged with more zip in their play in the second half but the threat remained with Bohemians and they almost scored a spectacular corner as Dinny Corcoran produced a superb volley than was only bettered by the one-handed save from Doherty who somehow kept the ball out of the net.

But Derry's luck ran out on 59 minutes as Bohs doubled their lead in emphatic fashion.

A City attack broke down and Bohs broke forward, Dinny Corcoran sailing right through to fire past Gerard Doherty to make it 2-0.

It looked as if Derry City were out of the game but they hit back almost immediately, Jamie McDonagh racing down the right and crossing superbly for Ally Roy to fire in from close range.

Bizarrely, Kenny Shiels then immediately substituted Roy for Aidy Delap, removing the only recognised striker on the pitch.

The goal at least gave Derry some belief and they came so close to equalising on 73 minutes when Ronan Hale's dipping volley was headed in, only to be denied by Shane Supple, who did brilliantly and tipped the ball over the crossbar.

The dying minutes were extremely tense and after Doherty saved from Kelly, Derry went down the other end and McDonagh produced another sensational cross to pick out Aidy Delap just six yards from goal, but the youngster hit his shot straight at the goalkeeper and Bohemians survived.

Derry's cup dream died in added time as Bohs broke again and although Doherty again did brilliantly to deny Kelly, there was nothing he could do with the rebound which fell perfectly for Corcoran who rolled Bohemians into a semi-final tie against Cork City.