Disclaimer: I own nothing.

A.N. So I have come across this thing in a bunch of fics about a magical restraining order, and I just had to...

~*~*~*~*~

It was while he was on his way to the hospital wing, following the third task and everything with Moody, that Harry realized that he would not survive to his majority if he didn't do something. Therefore he took a quick detour to one of the many abandoned classrooms and got Sirius to help him word a restraining order. He had learned about them while searching for a way out of the Tournament, they had been in a book of magic contracts, and he only really remembered due to joking that it would be a good way to avoid potions class. Anyway between the two of them they managed to craft a restraining order that should work in order to keep Voldemort and any of his various allies away from anyone that they may wish to harm. The best part was that due to the magic of this particular kind of magical contract a copy of it would automatically file itself in all relevant places and serve itself to all parties. All it needed was the signature of a ministry employee, a member of the Wizengamot, and, for international value, a member of the ICW. With Dumbledore being who he is, he takes care of both of those and Mr. Weasley takes care of the last.

Sirius thought it was a great prank, even if it was a bit Slytherin. Of course it would have to wait as Harry really needed to get the various injuries he gained from the tournament, and subsequent battle, looked at.

~*~*~*~

When Harry woke up to the sound of fighting, he was a bit surprised to hear Minister Fudge, but quickly managed to work it into his plan. The order would be more legally binding with the signature of the minister after all. Harry had mostly zoned out, but he quickly came back to the moment when he heard Dumbledore say "I am afraid that I cannot permit you to question Harry tonight."

Harry quickly cut in before anyone could stop him "I'd be happy to tell the minister my statement, Professor. I will, afterall, have to tell a member of law enforcement later for their investigation, and the minister hearing beforehand will not affect it."

The minister sat down with a triumphant, "Ha!" as if he had won some great victory instead of a statement from a 14 year old.

Harry quickly redacted and changed the story with which he was going to sway the minister to their side. "When Cedric and I touched the cup we were transported to a graveyard via portkey. We briefly wondered whether or not it was part of the task and ultimately decided that we would have been informed if the cup was a portkey to another part of the task.As we went to grab the cup again, a voice called out 'Kill the spare' and then a green light sped past me and hit Cedric in the chest. A man that I recognised as Peter Petigrew from the events of last year, then tied me to a gravestone before performing a ritual of some kind where he cut off his own hand and then sliced into my arm to take my blood." both were said in a tone that sounded slightly hysteric, maybe i should have waited at least 'til morning. The minister had a slightly terrified look on his face. I forced myself to take a deep breath before continuing, "After the ritual a man who claimed to be Voldemort called on death eaters who he called by names that may or may not have been their own and talking at them. He then had Pettigrew untie me and give me my wand before attempting to kill me. I don't know if the man was Voldemort or just some lunatic using his name and the names of his suspected followers in order to incite fear, but I managed to get to Cedric's body and summon the cup." I noticed the suspicious look on Dumbledore's face and managed to send him a 'I have a crazy plan that may work please play along' look that fudge missed. I then put on a look of despair and fear that I had practiced a few times while working with Sirius on the wording of the restraining order. "Minister, with everything that has happened I fear greatly for the continued well being of my friends and the wizarding world, after all there have been so many terrorist attacks recently under the banner of the death eaters, I was hoping to get a restraining order against those that fall under the banner of the former dark lord, after all his followers are clearly not all gone. It would have more legal precedence if you signed it than is I just got a random member of the Ministry to sign it." I pulled it out of my school bag that had been brought to the Hospital wing by Hermione earlier in the day due to the likeliness that I would end up here and therefore be stuck here for a few days and need something to do, like homework. I then affected a nervous face and said, "When I was looking for a way out of the tournament i found a section on magical restraining orders and thought that it would be a good way to keep myself and my friends safe from people claiming to work for Voldemort, and then I decided that it would be a good way to keep everybody safe from people attempting to further the goals and panic spread by the last dark lord, so I have been working on this all year. 'By the magic of mother earth I hereby restrict and restrain The dark lord known as Voldemort and any willing and current followers from coming within spell casting distance of any person, residence, workplace, school, or property of a person whom they may target.' It protects everybody who may be targeted while only punishing those who follow him or his goals."

Of course the actual wording was a lot different even going so far as to name the dark lord specifically by birth name, not that it really matters as the minister realized that this would protect him from the dark lord and his followers and immediately signed it without reading it. Dumbledore signed it after reading it as it would protect the innocent without actually hurting any of the guilty.of course neither of them searched for hidden ink and therefore did not see the fine print that would erase the exact wording of the document from the minds of anyone who reads it. This was of course in order to keep the knowledge from falling into Voldemort's hands, and give the side effect of getting one over on Dumbledore and his information hoarding ways.

~*~*~*~*~

The only ones who know the exact wording are Sirius and Harry who use the information in order to prepare for the inevitable rise of future dark lords. Sirius manages to clear his name by waltzing into the DMLE. Voldemort and all of the death eaters starve to death, as they cannot even enter their own homes as their families are considered possible targets and therefore their families holdings fall under the list of places where they may not enter. Voldemort does not die completely forever cursed to wraith form with neither him nor his horcruxes able to get within possession distance of anyone. The Horcrux within Harry's scar is expelled by magic shortly after the restraining order is signed, but he's under dreamless sleep and pain potions due to the acromantula bite on his leg, so he doesn't notice at all.