Carlo Ancellotti's side came out on top 5-4.
Everton are into the quarter finals of the FA Cup following a 5-4 extra time win over Tottenham Hotspur last night.
Bernard grabbed the winner in additional time.
Manchester City are also through - they beat Swansea 3-1.
The win was City's 15th in a row, a top flight record.
Elsewhere last night, Leicester City beat Brighton 1-0 and Sheffield United were 1-0 winners over Bristol City.
Chelsea are away to Barnsley in the competition tonight.
That game kicks off at Oakwell at 8.
At 5.30, Wolves play Southampton at Molinuex.