Battle for Windhelm

Background
" I am to join General Tullius in the final attack on Windhelm, putting an end to the Stormcloak rebellion, once and for all. "

Walkthrough
The Battle for Windhelm is the final Imperial Legion quest, ordered by General Tullius, who wishes to take over the city of Windhelm to find Ulfric Stormcloak and force him to submit. After an inspirational speech by General Tullius, you fight through waves of Stormcloak defenders along with the legionnaires. The Palace of Kings is then raided, where Ulfric and his right-hand man Galmar Stone-Fist await you. Once Ulfric is defeated, he will request that the player be the one to kill him, as it would "Make for a better song," although you can refuse and allow General Tullius to strike the final blow.

After Ulfric and Galmar are defeated, General Tullius will reward you with a leveled sword which is different depending on the player's level. Upon retuning to Windhelm, Brunwulf Free-Winter will become the Jarl and will offer you the title Thane of Eastmarch as well as the opportunity to buy Hjerim, the player house availabe in Windhelm (12,000). At this point the city is now Imperial, thus the Stormcloak guards are replaced by Imperial Soldiers.

Bugs

 * If a dragon appears while Rikke is telling you to meet up with Tullius, your quest may glitch and keep directing you to her. I was able to complete the quest by fast traveling to Windhelm and jumping right into the battle.(Also confirmed on 360)
 * Occasionally, after Ulfric and Galmar have been killed, the replacement Jarl (Brunwulf Free-Winter) will not spawn inside of the Palace of the Kings. For some reason the Jarls of Riften as well as the Jarl of Markarth will be seated with their housecarls at the dining table in the Palace of the Kings. Neither waiting for several game days nor leaving and returning to Windhelm have solved this problem. This makes purchasing Hjerim impossible as the Jarl will not be around to tell you how to become Thane and his aid does not have a dialogue option to purchase the home. (Xbox 360 and PS3)
 * When entering the Palace of the Kings, General Tullius and Legate Rikke will be attacked by Windhelm guards, which slowly wear them down-preventing Tullius from talking to Ulfric, which causes you to remain frozen in place while they are attacked. Loading to a previous save will not help this. Bring up the console with "~", click on a guard and type "kill", then hit Enter. Repeat for the other one. This will enable the dialogue to occur. After Ulfric's execution, once you go outside the Imperials will be finishing up the rest of the Windhelm Guard, so the two would have ended up dead anyway.
 * Sometimes during the battle with Ulfric and Galmar, both enemies are still tagged as essential, and both of your allies just stand around after making their pre-fight speech. If this happens, you are stuck in the Palace of Kings with two unkillable enemies and two NPCs. Loading an earlier save does not prevent this from happening, and the console doesn't help either. There is no known fix for this bug.
 * In some instances, there will be no Stormcloak soldiers stationed inside of Windhelm-and the city will be empty with the exception of a few guards. Not even Rikke or Tullius and their forces even spawn inside of Windhelm. The Above glitch also happened, with Galmar chasing me out soon after I killed Ulfric.
 * Ulfric and Galmar's bodies may not disappear from the Palace of Kings, even when Brunwulf Free-Winter is Jarl. Confirmed Ps3 and Pc
 * Sometimes you will not receive General Tullius' sword, you may still finish the quest but you will not receive the sword. This is because the sword you get from Tullius, is same that you got, if you kill Ulfric yourself. Sword is a leveled sword that absorbs health.
 * Sometimes Hadvar will glitch and follow you everywhere. Reload the game to solve this issue.
 * If you decide to loot too early an imperial guard may follow you, causing you too not be able to fast travel anywhere. Run out of the city and past the stables and constantly check your map for fast travel availability. (Upon returning you may pay the bounty)
 * If you complete the quest before doing "Blood on the Ice" this may cause the guard you have to receive permission form not to be there.
 * When you go to meet up with soldiers, some may already be slain.
 * Days after the Battle for Windhelm, some people will be sitting at the long table in the Palace. If you engage in dialogue, some of them will act as if they were still where they belong, the Rift, Markarth etc. saying stuff like "If you need a drink, go to [Inn in their homecity]"