Barcelona welcomed Sevilla to Camp Nou on Saturday looking to make it four wins from their opening four games of the La Liga season.
Sevilla had their moments in the first period, but a header from Daniel Alves ensured that the home side led at the interval.
The visitors continued to impress in the second half, but a 75th-minute strike from Lionel Messi moved Barcelona into a two-goal lead.
Sevilla had one back through Ivan Rakitic late on, before Coke levelled at 2-2 in the final minute of normal time.
There was time for late drama, however, as Alexis Sanchez turned past Beto in stoppage time to secure an incredible win.
Read how it all unfolded in Sports Mole's minute-by-minute live commentary of the action below.
BARCELONA XI: Valdes; Alves, Pique, Mascherano, Alba; Busquets, Xavi, Iniesta; Tello, Messi, Neymar
SEVILLA XI: Beto; Coke, Cala, Navarro, Alberto; Cristoforo, Mbia, Rakitic, Jairo; Vitolo, Gameiro