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.

Prelude
"Any attack made by the Rebels against this station would be a useless gesture, no matter what technical data they've obtained."

- Admiral Conan Motti

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 soon was rescued from captivity by an unlikely alliance of the smuggler Han Solo, Jedi Master Obi-Wan Kenobi, and a young farmboy from Tatooine named Luke Skywalker. Jyn beams the plans up to an awaiting ship, having the "Rogue One" squad await the inevitable, as the Death Star fires a laser at Scariff. None of the "Rogue One" squad survived, but sacrificed themselves to aid in the destruction of the First Death Star.

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

- Red Leader

An analysis of the plans provided by Princess Leia identified a weakness in the battle station: a small thermal exhaust port (secretly installed as an act of sabotage by Galen Erso, who was forced by the Empire to participate in the station's design and construction) which would allow access to a point that could cause a chain reaction that would destroy the battle station.

Rebel pilots were briefed by General Jan Dodonna 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/LN starfighters served to devastate the Rebel attackers, destroying them with far more speed and efficiency 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's fighter and destroyed Darklighter's X-wing, but had difficulty destroying Skywalker. To Vader's surprise, one of his wingmen were 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 would destroy 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, the sole Imperial survivor of the battle, was recovered in his damaged TIE Advanced x1 by Imperial pilots Ciena Ree and Berisse Sai.

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. In order to capitalize on the Empire's weakness following the destruction of the Death Star, the Rebels begun 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 fact that Luke Skywalker destroyed the Death Star was false and rather thought that the destruction of the Death Star was caused by an Imperial traitor and not by 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.