A law student in Great Britain was caught using invisible ink and a UV light to cheat during an exam, NBC News reported.

The woman had legitimately taken her law textbook into an exam, NBC News reported. But the book had 24 pages of secret notes and the woman used a "black light" attached to her pen to read them. Her actions were spotted by fellow students and the exam’s supervisor.

The incident was revealed in the annual report of Britain's Office of Independent Adjudicator (OIA), which deals with cases in which students believe they have been treated unfairly by their universities or colleges.

According to the report, the student did not deny the offense, but “appealed on the basis of unfair penalty, extenuating circumstances, and procedural error.”

The appeal was rejected, according to the report.