Patna:A Bihar court on Monday granted bail to Ruby Rai, an accused in the toppers' scam, a government lawyer said. A special juvenile court here granted her bail after hearing a petition. Earlier, the court had denied her bail twice. Ruby had pleaded that she should be granted bail as she is a minor. Last month, she was shifted from Beur jail to a remand home after the court accepted Ruby's age on the basis of her matriculation certificate that states her date of birth to be November 15, 1998. Ruby had topped this year's Class 12 examination conducted by the Bihar School Examination Board (BSEB) in humanities stream. She got into trouble after after a sting by a TV news channel showed her giving ludicrous answers to elementary questions related to her subjects. Class 12 science stream topper Saurabh Shreshtha was also caught on camera giving wrong answers to basic science questions about his subjects. The sting suggested that the 'toppers' might have used cheating and fraud to achieve their top ranks. Both Ruby and Saurabh belonged to V.R. College in Vaishali district. The Special Investigation Team (SIT) of Bihar Police then lodged an FIR against Ruby, Saurabh and two other exam 'toppers'.