Avenged Sevenfold (sometimes abbreviated as A7X) is an American heavy metal band from Huntington Beach, California, formed in 1999. The band's current lineup consists of lead vocalist M. Shadows, rhythm guitarist and backing vocalist Zacky Vengeance, lead guitarist and backing vocalist Synyster Gates, bassist and backing vocalist Johnny Christ, and drummer Brooks Wackerman. Avenged Sevenfold is known for its diverse rock sound and dramatic imagery in album covers and merchandise. Avenged Sevenfold emerged with a metalcore sound on the band's debut Sounding the Seventh Trumpet and continued this sound through their second album Waking the Fallen.

On April 11, 2012, Avenged Sevenfold won the award for "Best Live Band" and "Most Dedicated Fans" at the Revolver Golden Gods awards. The band toured through Asia into April and early May, and played at the Orion Music + More, Festival on June 23 and 24 in Atlantic City, New Jersey alongside Metallica and Cage the Elephant among many others.  On September 24, 2012, Avenged Sevenfold released a new song, titled "Carry On"; it was featured in the video game Call of Duty: Black Ops II. On November 15, 2012, vocalist M. Shadows said that the band had been working on a new album since the recording of "Carry On" in August 2012. The band began recording material for the album in January 2013. The band then started streaming snippets of the album in May 2013 on their new radio app. There, Arin Ilejay was confirmed as an official band member and replacement of deceased The Rev. M. Shadows said that the album would sound more blues rock-influenced and more like classic rock/metal like Black Sabbath and Led Zeppelin.  The band was confirmed to play at the 2013 Rock in Rio festival on September 22, 2013. On May 24, 2013, the band have announced dates for their European tour with Five Finger Death Punch and Device serving as their support bands.  The album, entitled Hail to the King, was released on August 27, 2013. This is the first Avenged Sevenfold album without any musical contributions from deceased The Rev. The album's lead single and title track was released on July 15, 2013. Hail to the King charted as No. 1 on the US Billboard 200, the UK albums chart, as well as the Finnish, Brazilian, Canadian, and Irish charts, and was commercially and critically acclaimed. The band headlined Monster Energy's Welcome to Rockville two-day music festival in Jacksonville, FL, April 26-27, 2014, joined by more than 25 rock acts, such as Motorhead, Rob Zombie, Chevelle, Korn, Staind, Alter Bridge, The Cult, Five Finger Death Punch, Volbeat, Black Label Society, and Seether. On June 13, the band headlined the Friday night of Download Festival 2014. The band also headlined the Mayhem Festival 2014 with Korn, Asking Alexandria, and Trivium.  In March 2014, vocalist M. Shadows revealed in an interview with Loudwire that the band had plans in the works to put something out for the overdue 10th anniversary of Waking the Fallen. Waking the Fallen: Resurrected was released August 25, 2014. The reissue charted No. 10 on the US Billboard 200.Answer this question using a quote from the following article:

When was Hail to the King released?
The album, entitled Hail to the King, was released on August 27, 2013.