[[caption-width-right:350:Japanese cover]]

''[[http://starwars.wikia.com/wiki/Allegiance_(novel) Allegiance]]'' is a ''Franchise/StarWarsLegends'' novel by Creator/TimothyZahn. It's set six months after ''Film/ANewHope''.

As the title suggests, this book features people and groups who are having allegiance issues. Han Solo is resentful about how it seems like everyone is assuming that he's committed himself to the Rebellion, although he hasn't left yet, and while Luke Skywalker is utterly committed, he worries about Han and is very green. The five stormtroopers who form the Hand of Judgment desert and form a sort of vigilante group believing that the Empire has abandoned the ideals that they signed up for. Consciously, Mara Jade is absolutely certain of the rightness of the Empire, but she is on the hunt for traitors and there are numerous tiny hints that she's against various aspects. Meanwhile, Leia is sent to negotiate between various Rebel leaders who are threatening to leave, and speaks with a district head who claims to want to secede, but is really doing all of this to gain power.

It's a Zahn plot, so a lot of things are happening at once, and the plotlines tangle together. Luke and Mara don't meet until ''Literature/TheThrawnTrilogy'', so it's the stormtroopers who interact with both Mara and the Rebels. This is notable as being the first Zahn ''Star Wars'' novel to never mention Thrawn. Not ''once''. There's a fleeting mention of Grand Admirals, but that's it.

A direct sequel, ''Literature/ChoicesOfOne'', was released later, right on the 20th anniversary of ''[[Literature/TheThrawnTrilogy Heir to the Empire]]''.

Not to be confused with the computer game ''VideoGame/{{Allegiance}}'' or the stage play ''Theatre/{{Allegiance}}''.
!!''Allegiance'' provides examples of the following tropes:

* AwesomeByAnalysis: The Commodore tries this, enduring mild sensory deprivation in order to concentrate on voices. Doesn't work on Mara.
* BodyMotifs
** Mara Jade: the Emperor's Hand.
** The [[BadassArmy 501st Legion]]: Vader's Fist.
** Five idealistic stormtrooper deserters: the Hand of Judgment.
** Zahn uses the hand motif a lot. There's also the Empire of the Hand and the Hand of Thrawn. It's an easy metaphor.
** Lampshaded; [=LaRone=], the leader of the five stormtroopers, when asked for what his squad is called, goes blank and ends up blurting "Mostly, we're known as the Hand of Judgment." Away from everyone else, he gets ribbed relentlessly by the other stormtroopers.
--> '''Quiller:''' You could have just picked a unit number at random. It's not like he could have checked before we got offplanet.\\
'''[=LaRone=]:''' Fine. Next time ''you'' can be the officer and group spokesman.\\
'''Quiller:''' Great. Does that mean you're promoting me from finger to thumb?\\
'''Grave:''' No fair. ''I'' want to be the thumb.
** Lampshaded again later, when Mara saves them from Vader and the 501st and [[ReasonableAuthorityFigure hears out their story.]] She lets them go, but tells them this:
-->'''Mara:''' Lose the name. There's only one Hand in the Empire, and that's me.
** Ironically this is not true at all, much to Mara's displeasure in future stories.
* BulletHolesAndRevelations: [=LaRone=] shot first.
* CallForward
** Villim [[Literature/HandOfThrawn Disra]] has apparently always had connections to criminals.
** There's also Mara Jade watching Vader get defensive over something he's looking up at a terminal, and her musing that the Emperor won't be pleased if Vader's been looking up [[Literature/ShadowsOfTheEmpire Prince Xizor and Black Sun]] again.
** Luke and Leia learning to operate a couple of acquired speeder bikes.
* CatchphraseInterruptus: [[CrowningMomentOfFunny Hilariously]] deployed.
* ChekhovsGun: Or at least his drainpipe.
* ContinuityNod: Disra, possibly the only Imperial who is a monster in a Zahn book. Also, we see the official debut of the ''Executor''.
* DamnYouMuscleMemory: After [[NeverHurtAnInnocent refusing to kill unarmed civilians]], Daric [=LaRone=] is confronted by an ISB officer who pulls a blaster on him. [=LaRone=] knows this is typical ISB threatening and he'll probably be let go, but when the officer takes it a little further, jabbing the stormtrooper with the muzzle and letting his finger tighten on the trigger, [=LaRone=]'s training kicks in and he kills the officer. Oops.
* ExplodingBarrels: The Commodore's men try to kill Mara and Tannis with these.
* FiveManBand: A bit stretched, but it works:
** TheHero -- [=LaRone=], the leader;
** TheLancer -- Marcross, his foil;
** TheSmartGuy -- Quiller, the pilot and spaceship nerd;
** TheBigGuy -- Grave, the marksman and sniper;
** TheChick -- Brightwater, the scout.
* FixFic: [[{{Mooks}} Stormtroopers]] who are not only useful, but ''badass''? Also, their [[ArmorIsUseless armor]] is actually effective against small arms fire.
-->''[[ImperialStormtrooperMarksmanshipAcademy Without even appearing to aim, Grave shifted his blaster slightly and sent a shot sizzling past the living shield's ear to blow a hole in Cav'Saran's face.]]''
:: ''Literature/SurvivorsQuest'' -- also by Zahn -- did it first with the four stormtroopers of Aurek Seven, who are a deeply BadassCrew. Since ''Literature/ChoicesOfOne'' confirms that Thrawn hired the Hand of Judgment to train his own elite squadrons, it's to be expected. It isn't just the Hand of Judgment -- the narrative in ''Allegiance'' also goes out of its way to remind the reader that the stormtroopers on the Death Star were under specific orders to let the heroes go...
* GoodFeelsGood
* HonorBeforeReason: When Leia sees burglars breaking into a house that has a child in it, she barely thinks about the fact that she's hiding out and firing shots will probably call official attention to her. She's seen what burglars can do when they run into someone.
-->'''Chivkyrie:''' That was a brave and honorable thing you did. We must hope it will not in turn bring destruction upon us.\\
'''Leia:''' It might. But it was something I had to do.
* HorribleJudgeOfCharacter: While in his presence Mara Jade thinks of the Emperor as "a good and wise man". Of course, she ''is'' his agent, connected to him by the Force, and there are a lot of subtle cues that she subconsciously knows how evil he is. Plus, her snap judgments of everyone else are pretty sound.
* HumanShield: Attempted, but Grave just shot past the hostage.
* InformalEulogy: Mara for Tannis.
* InterserviceRivalry
** The ISB and the Stormtrooper Corps ''really'' don't like each other.
** Mara and Vader don't like each other, either. Their relationship seems to range from Vader trying to kill Mara to both of them calmly trading their impressions of a possibly-corrupt governor, and Mara asking Vader to keep an eye on Ozzel, since she doesn't trust him. She does muse that at least they both hate the [[InternalAffairs ISB]].
* [[ItWorksBetterWithBullets It Works Better When Loaded]]
* NewPowersAsThePlotDemands: Obi-Wan patiently guides Luke through using the Force to figure out the combination for the room he's been locked into.
* NotInThisForYourRevolution: Han. But he doesn't leave.
* RecycledInSpace: The elite ex-commando unit performing good deeds while on the run from the government that unfairly burned them bears more than a passing resemblance to the A-Team.
* [[TwoLinesNoWaiting Six Lines, No Waiting]]: It's a Zahn book. Of ''course'' it's going to have multiple intertwined PlotThreads.
* SpiritAdvisor: Obi-Wan.
* SureLetsGoWithThat: Amazing sometimes, how hindsight enables people to jump to such incredibly wrong conclusions.
* SympatheticPOV: Zahn likes portraying Imperials who aren't monsters.
* TrueCompanions: The Hand of Judgment may argue a lot, but they stay together. Han Solo isn't willing to throw himself fully into the Rebellion, but Luke and Leia are his friends, and he won't simply abandon them.