<Li> Musical guests: Bon Jovi with finalists ("Livin' on a Prayer"), Jamiroquai ("White Knuckle Ride") and Rihanna ("Only Girl (In the World)") </Li> <Table> Contestants' performances on the fourth live show <Tr> <Th> Act </Th> <Th> Order </Th> <Th> Song </Th> <Th> Result </Th> </Tr> <Tr> <Th> Mary Byrne </Th> <Td> </Td> <Td> "Could It Be Magic" </Td> <Td> Safe </Td> </Tr> <Tr> <Th> Aiden Grimshaw </Th> <Td> </Td> <Td> "Thriller" </Td> <Td> Safe </Td> </Tr> <Tr> <Th> Belle Amie </Th> <Td> </Td> <Td> "Venus" </Td> <Td> Bottom two </Td> </Tr> <Tr> <Th> Rebecca Ferguson </Th> <Td> </Td> <Td> "Wicked Game" </Td> <Td> Safe </Td> </Tr> <Tr> <Th> Treyc Cohen </Th> <Td> 5 </Td> <Td> "Relight My Fire" </Td> <Td> Safe </Td> </Tr> <Tr> <Th> Matt Cardle </Th> <Td> 6 </Td> <Td> "Bleeding Love" </Td> <Td> Safe </Td> </Tr> <Tr> <Th> Wagner </Th> <Td> 7 </Td> <Td> "O Fortuna" / "Bat Out of Hell" </Td> <Td> Safe </Td> </Tr> <Tr> <Th> Paije Richardson </Th> <Td> 8 </Td> <Td> "Back to Black" </Td> <Td> Safe </Td> </Tr> <Tr> <Th> Katie Waissel </Th> <Td> 9 </Td> <Td> "Bewitched" </Td> <Td> Bottom two </Td> </Tr> <Tr> <Th> One Direction </Th> <Td> 10 </Td> <Td> "Total Eclipse of the Heart" </Td> <Td> Safe </Td> </Tr> <Tr> <Th> Cher Lloyd </Th> <Td> 11 </Td> <Td> "Stay" </Td> <Td> Safe </Td> </Tr> <Tr> <Th_colspan="4"> Final showdown details </Th> </Tr> <Tr> <Th> Belle Amie </Th> <Td> </Td> <Td> "Breakaway" </Td> <Td> Eliminated </Td> </Tr> <Tr> <Th> Katie Waissel </Th> <Td> </Td> <Td> "Trust in Me" </Td> <Td> Safe </Td> </Tr> </Table> <Tr> <Th> Act </Th> <Th> Order </Th> <Th> Song </Th> <Th> Result </Th> </Tr> <Tr> <Th> Mary Byrne </Th> <Td> </Td> <Td> "Could It Be Magic" </Td> <Td> Safe </Td> </Tr>

Who were the judges when one direction was on the x factor