Girls' mentor Nicole was joined by Mary J Blige at her house in Antigua, where she chose Tamera Foster, Abi Alton and Hannah Barrett to take through to the live shows.
There was heartbreak for returning contestants Melanie McCabe and Jade Richards who, along with Relly Clarke, were told they had failed to make the former Pussycat Doll's top three.
From the Groups category, Gary - who was joined by Olly Murs at his house in New York - chose to put through Kingsland, Rough Copy and Miss Dynamix, who were formed at Bootcamp.
As a result, Brick City, Xyra and Code 4 were sent home by the Take That singer.
On Saturday's show, viewers saw Sam Bailey, Lorna Simpson and Shelley Smith make it into Sharon Osbourne's top three Overs, while Nicholas McDonald, Sam Callahan and Luke Friend were picked up the Boys' mentor, Louis Walsh.
Meet the final 12 in our gallery below...
The final 12 will perform during next Saturday's first live show, which has been confirmed to have an 80s theme.
MORE 'X FACTOR'