UPDATE 1-Soccer-Atletico stage thrilling comeback to win in Cup
* Late Simao goal helps Atletico edge Recre 5-4 on aggregate
* Mallorca come back to beat Rayo with stoppage-time goal (Recasts after late game)
MADRID, Jan 14 (Reuters) - Simao's stunning late freekick put Atletico Madrid into the King's Cup quarter-finals after an exhilarating 5-1 victory over Recreativo Huelva on Thursday.
An epic fightback saw them through 5-4 on aggregate after they overturned a daunting 3-0 first-leg deficit.
Portugal winger Simao curled his effort into the top corner six minutes from time after they looked to have blown their earlier good work against the second division visitors.
Simao had set Atletico on their way after 22 minutes and further goals from Sergio Aguero and Tomas Ujfalusi had them 3-0 up at the break.
Aguero's shot was then deflected into the Recre net by visiting defender Troest after 62 minutes, but Atletico went on to press the self-destruct button.
Midfielder Paulo Assuncao was caught in possession in his own area allowing Carmona to grab an all-important away goal for Recre in the 71st, and then got himself sent off two minutes later for a second bookable offence.
But, despite being a man down, Atletico continued to press and Simao grabbed his second goal to set up a last-eight meeting next week with another second division side Celta Vigo.
Earlier, a stoppage-time goal sent Real Mallorca into the quarter-finals after a 3-1 win over second division Rayo Vallecano put the La Liga side through 4-3 on aggregate.
Mallorca substitute Mario Suarez fired in from close range to complete an exciting comeback and avoid extra time at a rainswept Ono Estadi.
Visiting Rayo, who won the first leg 2-1 last week, had opened the scoring with a breakaway effort from striker Piti on the stroke of halftime.
Mallorca, who have won every home game this season, rallied with Victor heading the ball into the net at a corner in the 50th and then firing home at the far post 10 minutes later.
Mallorca will meet Getafe in the last eight.
The other two quarter-finals see Sevilla, who knocked out holders Barcelona, play Deportivo Coruna, and Racing Santander take on Osasuna.
(Writing by Mark Elkington, editing by Justin Palmer and Ken Ferris; To query or comment on this story email email@example.com)