Battle of Yavin

"This will be a day long remembered. It has seen the end of Kenobi; it will soon see the end of the rebellion."

- Darth Vader to Grand Moff Wilhuff Tarkin before the battle

The Battle of Yavin was a major battle of the Galactic Civil War that led to the destruction of the first Death Star and was one of the Rebellion's first major victories, with the first one being the capture of the Death Star plans.

Prelude
"My father built a fuse in the middle of your machine, and I just told the whole galaxy how to light it."

- Jyn Erso to Orson Krennic

During the Battle of Scarif, Jyn Erso managed to steal detailed plans and design specifications for the Imperial battle station known as the Death Star and transmit them to the Rebel Alliance fleet above; these plans soon made their way to Princess Leia. Imperial forces under the command of Darth Vader soon captured Princess Leia and the crew of the Tantive IV.

Princess Leia was taken prisoner aboard the Death Star by Darth Vader. The Princess was rescued from captivity by an unlikely alliance of the smuggler Han Solo, Jedi Master Obi-Wan Kenobi, a young farmboy from Tatooine named Luke Skywalker and a Wookiee named Chewbacca. The group, in possession of the Death Star plans, fled to the Rebel base on Yavin 4&mdash;closely pursued by the battle station.

The battle
"Lock S-foils in attack position."

- Red Leader

An analysis of the plans identified a weakness in the battle station, placed there by unwilling engineer Galen Erso: a small thermal exhaust port leading to the main reactor which would allow access to a point that could cause a chain reaction that would destroy the battle station.

General Jan Dodonna briefed Rebel pilots on the plan. The Death Star's defenses were designed for a direct, large-scale assault. By using small, one-man fighters, the Rebels would slip through the Death Star's main defenses, maneuver down a narrow trench leading to the exhaust port, and insert proton torpedoes through the exhaust port.

With the Death Star approaching, Y-wings from Gold Squadron and X-wings from Red Squadron were dispatched to carry out the attack plan. A total of 30 ships were deployed in the assault on the Death Star: 8 Y-wings as part of Gold Squadron and 22 X-wings, some part of Red Squadron. The deployment of Imperial TIE fighters, including Lieutenant Iden Versio, devastated the Rebel attackers, destroying them far faster and more efficiently than the station's weapon emplacements had been able to.

Some time into the battle, Imperial officer Jude Edivon aboard the Death Star identified the threat of the Rebels' attack strategy, and attempted to warn her superiors of the danger. However, Grand Moff Tarkin ignored the warning and refused to evacuate. Meanwhile, Darth Vader himself decided to lead a squadron of TIE fighters to destroy the remaining Rebel fighters.

The first attack run was performed by a trio of Y-wings from Gold Squadron. Led by Jon "Dutch" Vander, the three Y-Wings were shot down by Darth Vader. A second trench run was performed by a trio of X-wings from Red Squadron led by Garven Dreis. Dreis was able to fire off a shot at the exhaust port, but his proton torpedoes missed their mark. Before being shot down by Darth Vader, Dreis ordered another attack run.

Following the final command of Red Leader, Luke Skywalker led the final attempt with Wedge Antilles and his old friend, Biggs Darklighter, as wingmen. Rushing down the trench at full throttle, they found themselves being tailed by Darth Vader and his fighters.

Vader personally damaged Antilles' fighter and destroyed Darklighter's X-wing, but had difficulty destroying Skywalker. To Vader's surprise, one of his wingmen was shot down beside him. Han Solo, believed to have abandoned the Rebels prior to the assault, unexpectedly returned to assist Skywalker in his most desperate moment.

Momentarily distracted by the intervention, Vader's remaining wingman attempted to protect Vader but collided with his ship, both spiralling himself into the side of the trench and knocking Vader away from the Death Star, allowing Skywalker to fire the shot that destroyed the Death Star.

Aftermath
"Great shot, kid! That was one in a million!"

- Han Solo to Luke Skywalker

Skywalker, Solo, and the surviving Rebel fighters returned to Yavin, where they held a celebration ceremony and awarded the pair with medals for their achievement in saving the Rebellion. Darth Vader, one of the few Imperial survivors of the battle, was recovered in his damaged TIE Advanced x1 by Imperial pilots Ciena Ree and Berisse Sai.

Iden Versio, who was outside of the Death Star's explosion, managed to pilot her damaged TIE Fighter to Yavin IV, where she ejected before it crashed into the jungle. There, she patched her wounds and stole a transport from the Rebel Base during the festivities.

Thane Kyrell and the other Imperials stationed at the abandoned Rebel base on Dantooine during the battle were cut off from communication with Coruscant after the Death Star was destroyed. Unconfirmed rumors spread through the ranks that the new weapon was gone. Early on, these rumors were dismissed as an Imperial trap to lure the Rebels out of hiding.

The destruction of the Death Star caused chaos within the Imperial ranks, leading to deliberate oversights on internal investigations and the rapid promotion of many young officers and lieutenants such as Ciena Ree to replace the higher-ranked officers killed on the Death Star.

Eventually, the Rebels were forced to leave the site of their victory, fleeing the Empire once again.

To capitalize on the Empire's weakness following the destruction of the Death Star, the Rebels began to conduct dozens of raids against Imperial targets to weaken the now-vulnerable Empire. In addition to attacks carried out on the shipyards of Kuat and a supply base on Imdaar, a Rebel team composed of Leia Organa, Han Solo and Luke Skywalker assaulted and destroyed the Empire's largest armament factory on Cymoon 1, severely undermining Imperial military production.

Six years before the destruction of the Hosnian system, an unofficial political faction in the New Republic's Galactic Senate known to admire the Galactic Empire's rule, the Centrists, questioned the official New Republic historical accounts of the Battle of Yavin and the Galactic Civil War. They believed that the Death Star was destroyed by an Imperial traitor and not by Luke Skywalker and the Rebel Alliance.

Behind the scenes
In a Korean webcomic released in 2015 and written and drawn by Hong Jac Ga, the Battle of Yavin is often referred to as the Miracle of Yavin.

Non-canon appearances

 * LEGO Star Wars: Droid Tales Episodes I-III
 * LEGO Star Wars: Droid Tales Episodes I-III