Barcelona eased past Cordoba 5-0 at home to Thursday to book their place in the quarter-finals of the Copa del Rey.
Already leading 2-0 on aggregate from the first leg, holders Barca had little trouble dispatching their second-tier opponents at Camp Nou.
Thiago opened the scoring 17 minutes into the match, before a David Villa brace made it 3-0 by half-time.
Alexis Sanchez then netted twice in the second half to set up a meeting with La Liga rivals Malaga in the last eight.
Also on Thursday, Atletico Madrid played out a 0-0 draw away to 10-man Getafe, who had Lopez Gomez Rafa sent off on 33 minutes.
Having won the first leg at home 3-0, the aggregate victory saw Diego Simeone's Atletico advance to the quarters, where they will meet Real Betis.
Betis saw off Las Palmas 1-0 at home thanks to Ruben's 85th-minute strike, sealing progression 2-1 on aggregate.
Second Division team Las Palmas ended the match a man down after Enrique Corrales saw red three minutes into injury time.