"Mazer in Prison" is a short story written by Orson Scott Card. It tells the story of Mazer Rackham's exile from Earth and the origins of Battle School. The short story appears in Card's webzine, the InterGalactic Medicine Show.
"Mazer in Prison" is the story of Mazer Rackham, the hero who saved Earth in the Second Formic War. As soon as the war was over, Earth put together a fleet to send to the Formic homeworlds to end the conflict once and for all. Since they needed a leader for this war, the Hegemony decided to send Mazer out into space in a ship that was capable of near-lightspeed travel so that due to the relativistic effects he would return young enough to command the fleet. Mazer knew that he was not the best person to lead the fleet, and so he reprogrammed the computer onboard his ship so that the Hegemony would no longer be able to control it. He then forced them to find a new fleet commander and arranged to have a young Hyrum Graff set up the Battle School to train possible candidates.