Synopsis
In Harry Potter and the Order of the Phoenix, the new Defence Against the Dark Arts professor, Dolores Umbridge, chooses to only teach the basic theoretical principles of the subject in her classes instead of practical applications, due to Minister for Magic Cornelius Fudge's erroneous fear that Albus Dumbledore is preparing to assemble a student army in order to overthrow him. This theory-only approach is widely unpopular among the students, especially those characters like Harry, who are in their fifth year and have to take their O.W.L. exams on the subject later in the year. Harry also believes that lack of practical experience makes them more vulnerable to Lord Voldemort's forces, though the Ministry staunchly refuses to accept that Lord Voldemort has returned. This prompts Hermione to suggest founding a student group where Harry would teach practical Defence Against the Dark Arts.
Hermione and Ron recruit students from Gryffindor, Hufflepuff, and Ravenclaw who all meet with Harry, Ron, and Hermione at the Hog's Head inn to discuss founding the group. When Umbridge learns about the meeting, she bans all unapproved student organisations, and meetings are secretly held in the Room of Requirement at least once a week for several months. Members are told when to meet through engravings on enchanted fake Galleons created by Hermione. Cho Chang suggests the "Defence Association", shortened to "D.A.", as the official name for the group, but Ginny Weasley's suggestion of "Dumbledore's Army", in order to mock the Ministry's paranoia and to show the group's loyalty to Dumbledore, is chosen.
Cho's friend Marietta Edgecombe betrays the group to Umbridge, and to prevent Harry's expulsion and the incrimination of other members, Dumbledore claims responsibility for organising the group, then escapes when Ministry officials attempt to arrest him. Though the D.A. stops meeting following these events, three members — Ginny, Neville and Luna — join Harry, Ron and Hermione in the battle in the Department of Mysteries towards the end of the fifth book. In Harry Potter and the Half-Blood Prince, Neville and Luna are distraught due to the fact that the D.A. no longer exists. When Hogwarts is invaded by Death Eaters, they are among the members who join the Order of the Phoenix in the ensuing battle.
In Harry Potter and the Deathly Hallows, with Harry, Ron and Hermione's absence from Hogwarts, Neville, Ginny and Luna begin a covert rebellion against new headmaster Severus Snape by reactivating the D.A. However, Luna is abducted (although is later rescued by Harry, Ron and Dobby) and Ginny leaves school, leaving Neville as the D.A.'s leader. According to Neville, most of the D.A.'s activity ceased shortly after Michael Corner was tortured by Death Eater siblings Alecto and Amycus Carrow, for trying to rescue a first-year boy from imprisonment. The group thereafter hid from the Death Eaters in the Room of Requirement, using a secret passage to the Hog's Head to find food. The D.A. believed that if Harry returned he'd lead them in a revolution against Snape and the Carrows and are disappointed when he initially refuses to let them help. Harry does lead an impromptu revolt, but only himself, Luna and Professors McGonagall, Sprout, Flitwick and Slughorn take part in it, with Harry and Luna taking out the Carrows, and the professors (rallied by McGonagall and Harry) driving off Snape. In the book's climax, the D.A. (alongside the Order of the Phoenix) plays an important role in the Battle of Hogwarts, giving Harry enough time to find the remaining Horcruxes.
The enchanted Galleons are kept by the participating members after the battle as badges of honour; Neville shows his medal to admiring pupils.
Read more about this topic: Dumbledore's Army