Barcelona have come from behind at the Nou Camp against Alaves to take a 3-1 win - 6-1 on aggregate - to advance to the fifth round of the Copa del Rey.
Alaves started the stronger side and Miki had a shot saved by Jose Manuel Pinto after 14 minutes.
Three minutes later, Miki turned provider as his cross was nodded in by Borja Viguera to give Alaves the lead on the night.
The lead lasted until 10 minutes before the end of the first half, when Adriano levelled the scores on the night and restored Barca's three-goal aggregate advantage.
Villa netted twice in three minutes on 56 and 59 to put the tie well beyond Alaves. Cristian Tello was instrumental with an assist for the second.
Villa missed a chance in the 70th minute to get his hat-trick, but his side comfortably saw out the game to win 6-1 over two legs.