Aston Villa's match really started in the 73rd minute when they finally shook off their European hangover and levelled through Ollie Watkins' third goal in as many matches.
After the equaliser, Villa Park expected a winner.
Unai Emery's side have tasted victory in all their matches bar one this season, which was itself a battling defeat by title challengers Arsenal.
The hosts pushed for a second and were rewarded by unlikely scorer Ezri Konsa sliding in for his first goal since he netted against Wolves in March.
Jhon Duran's goal on the break - incredibly his fourth this season without starting a fixture - flattered the hosts, but Villa are now a team who find a way to win even when they play badly.