Rafal

Rafal, also known as The School Master, is a main villian in the School for Good and Evil book franchise.

History
Not much was initially known about the school master or Rafal in the first book, other than the fact that there were first two twin brothers (one good, one evil) who were selected to guard a magical pen called the Storian. As a result, in the fairytale universe, Evil would win half the time and Good would win half the time. Eventually, a great war broke out that cost the life of one of the brothers. However, the dying brother cast a spell to ensure that the Storian would remain uncorrupted, causing Evil to never win a fairytale for 200 years. In the great truce, the School Master emerged, and swore to guard the Storian and the Schools of Good and Evil.

In the first book, the School Master is first seen by Sophie and Agatha, the novel's protagonists, when they want to switch schools after seemingly being sent to the "wrong ones." He offers them a riddle of what "Good cannot live without and what Evil can never have.", before sending them back to their dorm rooms. Towards the end of the book, The School Master turns into a handsome prince and reveals himself as the evil twin, having killed his brother 200 years before. He manages to trick Sophie into kissing him for the promise of a villain's paradise called "Never After", until Sophie remembers that villains cannot love. Shortly afterwards, in a final encounter with the ghost of his deceased brother, he is torn apart as a shaow and seemingly killed.

In the second book, he manages to get resurrected by Sophie and becomes a main vilain once more, only taking on a youthful appearance and a new identity as Rafal.

In the third book, Rafal is getting closer to achieving the ultimate wish of Never After and destroying Good, which will begin once he officially marries Sophie, who later accepts the proposal. It is later explained that his return has allowed the old storybook villains to return from the dead and rewrite their fairytales. The only way to stop him is if Sophie destroys his wedding ring, which is the source of his power. During many battles and conquests that follow, he tries to get Sophie to kill her father. Agatha manages to remind Sophie of their friendship and how she will risk everything by letting Evil destroy Good. In a change of heart, Sophie tricks Rafal and destroys the ring, effectively destroying Rafal for eternity.