Ansu Fati scored the extra-time winner as Barcelona beat third-tier Intercity 4-3 in the Copa del Rey after Oriol Soldevila's hat-trick.
A topsy-turvy draw saw the Blaugrana repeatedly thwarted by the little fish after Ronald Araujo's early strike suggested a comfortable night for the 31-time winners.
That was certainly not the case, with Soldevila's equalizing hat-trick sending the tie into extra time after Ousmane Dembele and Raphinha restored Barcelona's lead. But Soldevila and Intercity were unable to repeat the feat for a fourth time after Fati scored decisively in the 103rd minute.
A fortuitous fourth for Barcelona would be enough, however, as Fati's deflected shot eluded Campos and sent the visitors through to the last 16.