apes, all bestowed with genetically enhanced intelligence by the virus, establish a colony in the Muir Woods near San Francisco. A group of humans, led by a man named Malcolm, trespass the apes' territory, in search of a hydroelectric dam that would restore power to San Francisco. An encounter with the apes, ends with a man named Carver badly hurting the ape Ash. Malcolm manages to prevent further escalation, and Caesar, the apes' leader, orders the humans to leave. Prompted by Koba, a scarred bonobo, Caesar brings his army to the humans' community as a display of strength. Caesar announces to the community that, despite the apes not wanting war, he will fight the humans if he is forced to. He demands the humans to stay in their territory. Malcolm convinces his fellow leader Dreyfus to give him time to take a small team to the forest, reconcile with the apes and access the dam. Eventually, Caesar allows them to work on the generator on the condition that they surrender their guns. While working together, Malcolm, his wife Ellie, and his son Alexander bond with the apes. The fragile relationship briefly falls apart when Carver is discovered to have kept a hidden gun and is thus forcibly sent away, but it is greatly restored when Ellie, a nurse, effectively treats Caesar's wife Cornelia's illness. Dreyfus arms his community with the Fort Point armory. Koba, who has a vendetta against humans for his mistreatment as a laboratory test subject, discovers the armory and confronts Caesar, accusing him of loving humans more than apes. Caesar beats Koba in response but refrains from killing him. Koba later returns to the armory, kills two guards, and secretly kills Carver after the humans succeed in repairing the generator. Koba takes advantage of their celebration to covertly set fire to the apes' home. He then shoots Caesar, who falls into an underbrush. Koba frames the humans for Caesar's apparent death and the fire to justify war. Taking command, he leads the ape army to San Francisco, where they plunder the armory and mount a full-scale assault on the humans. Despite taking heavy casualties, the apes breach the building and imprison the humans as Dreyfus flees underground. While refusing orders to kill unarmed humans, Ash cites Caesar's teachings, and Koba throws him to his death. He also has any other ape who is loyal to Caesar imprisoned,