Who knew that being an aspiring surgeon could be a get out of jail free card?

Medical student Lavinia Woodward, 24, who attends the prestigious Oxford University, could potentially avoid any jail time due to her prodigy-like talents as a heart surgeon, the New York Daily News reported.

The Oxford Mail reported that in the midst of a heated fight — in which drugs and alcohol were involved — Woodward stabbed her boyfriend in the leg with a knife, and threw both a laptop and a jar of jam at him.

Because of this, Woodward found herself at the mercy of Oxford Crown Court Judge Ian Pringle after she pled guilty to the stabbing of her now ex-boyfriend.

Oxford Mail reported that Judge Pringle delayed the medical students sentencing so she could finish out her studies at Oxford:

“It seems to me that if this was a one-off, a complete one-off, to prevent this extraordinary able young lady from not following her long-held desire to enter the profession she wishes to, would be a sentence which would be too severe."

The millennial has already made a name for herself within the medical community, having been published in a number of medical journals such as the Annals of Thoracic Surgery, Hypertension and The Journal of Physiology, The Telegraph reports.

Woodward's lawyer, James Sturman, told the judge her actions were the result of a “very troubled life” and the judge's decision would give the Oxford student a “fair chance to prove herself,” The Telegraph notes.

That said, Woodward will not get off completely scot free.

Woodward, who wants to dedicate her efforts to curing heart disease, will be sentenced on September 25. In the meantime, a restraining order was applied and she was instructed to stay sober and “not re-offend.”