Given the task definition and input, reply with output. In this task, you are given a text of many news articles seperated by special token "|||||". Your task is to summarize them.

Undercover CHP officer pulls gun at Oakland protest after outing 
  
 A plainclothes CHP officer points his gun at the crowd while his partner subdues a protester who struck him in the back of the head in Oakland on Dec. 10, 2014. A plainclothes CHP officer points his gun at the crowd while his partner subdues a protester who struck him in the back of the head in Oakland on Dec. 10, 2014. Photo: Michael Short / Special To The Chronicle 
  
 An undercover officer detains a protester who allegedly struck the officer a confrontation in Oakland on Dec. 10. An undercover officer detains a protester who allegedly struck the officer a confrontation in Oakland on Dec. 10. Photo: Michael Short / Special To The Chronicle 
  
 An under cover officer points his gun at the crowd while his partner subdues a protester who struck him in the back of the head, as demonstrations continue for a fifth night in Oakland on Wednesday, Dec. 10, 2014. less An under cover officer points his gun at the crowd while his partner subdues a protester who struck him in the back of the head, as demonstrations continue for a fifth night in Oakland on Wednesday, Dec. 10, ... more Photo: Michael Short / Special To The Chronicle Buy photo 
  
 An under cover officer points his gun at the crowd while his partner subdues a protester who struck him in the back of the head, as demonstrations continue for a fifth night in Oakland, CA, on Wednesday, December 10, 2014. less An under cover officer points his gun at the crowd while his partner subdues a protester who struck him in the back of the head, as demonstrations continue for a fifth night in Oakland, CA, on Wednesday, ... more Photo: Michael Short, Special To The Chronicle Buy photo 
  
 window._taboola = window._taboola || []; _taboola.push({ mode: 'thumbnails-c', container: 'taboola-interstitial-gallery-thumbnails-5', placement: 'Interstitial Gallery Thumbnails 5', target_type: 'mix' }); _taboola.push({flush: true}); 
  
 Vandals attack a T-Mobile store in Chinatown as demonstrations continue for a fifth night in Oakland on Wednesday, Dec. 10, 2014. Vandals attack a T-Mobile store in Chinatown as demonstrations continue for a fifth night in Oakland on Wednesday, Dec. 10, 2014. Photo: Michael Short / Special To The Chronicle Buy photo 
  
 window._taboola = window._taboola || []; _taboola.push({ mode: 'thumbnails-c', container: 'taboola-interstitial-gallery-thumbnails-7', placement: 'Interstitial Gallery Thumbnails 7', target_type: 'mix' }); _taboola.push({flush: true}); 
  
  
  
  
  
  
  
 Photo: Michael Short / Special To The Chronicle Image 1 of / 7 Caption Close Undercover CHP officer pulls gun at Oakland protest after outing 1 / 7 Back to Gallery 
  
 An undercover California Highway Patrol officer who was attempting to infiltrate a demonstration against police brutality in Oakland pulled a gun on the protesters after he and his partner were outed and the partner was attacked. 
  
 The undercover work — captured by a freelance photographer working for The Chronicle — raised questions about tactics employed by police and protesters as authorities seek to get a handle on rallies that have flooded the streets of Oakland, Berkeley and San Francisco, at times shutting down freeways and devolving into vandalism and looting. 
  
 Avery Browne, chief of CHP’s Golden Gate Division, said the agency and other police departments have had plainclothes officers dressed in protester attire walking in these marches since the first demonstration Nov. 24, and he said they will continue to employ this tactic despite Tuesday’s incident. 
  
 He said before the officers were outed Tuesday, they were able to collect enough information to prevent four more freeway shutdown attempts. 
  
 “We will use all of the avenues we can to keep the public safe and gather that information so we can be responsive and be in the proper position,” he said. 
  
 About 50 people were marching near Lake Merritt just after 11:30 p.m. Wednesday when some of the demonstrators began calling out two men who were walking with the group, said the freelance photographer, Michael Short. 
  
 “Just as we turned up 27th Street, the crowd started yelling at these two guys, saying they were undercover cops,” Short said Thursday. “Somebody snatched a hat off the shorter guy’s head and he was fumbling around for it. A guy ran up behind him, knocked him down on the ground. That guy jumped backed up and chased after him and tackled him and the crowd began surging on them. 
  
 “The other taller guy had a small baton out,” Short said. “But as the crowd started surging on them, he pulled out a gun.” 
  
 Chief Browne said the officer also pulled out a badge and identified himself as law enforcement, as is department policy, though Short, other members of the media and protesters reported that they did not see a badge. 
  
 The officers, who Browne said he is not identifying, had been trailing the crowd in an unmarked car and began following on foot at Ninth and Harrison streets, after vandals marching with the group had smashed the windows of a T-Mobile store in Oakland’s Chinatown neighborhood and made off with merchandise. A nearby Wells Fargo ATM was also damaged. 
  
 When the protesters called them out as law enforcement officers at 27th and Harrison, a man punched the shorter officer in the back of the head and ended up struggling with him on the ground, Browne said. 
  
 The crowd of “about 30 to 50” continued to advance, and the officer “transitioned from his baton to his firearm,” according to Browne. He then pointed the gun at the protesters and panned the crowd to keep them away from him and his partner, who was still on the ground fighting with an attacker. 
  
 “'Chief, I didn’t know if I was going to make it out of this thing alive,’” Browne said the officer told him. “'They were coming after us, they had already punched my partner in the head. I didn’t know if we were going to make it out alive.’” 
  
 The man accused of punching the officer was booked into county jail on suspicion of felony assault on a peace officer. 
  
 While the officer fought with the man on the ground, a blonde woman ran up and kicked him the head, Browne said. She was not arrested, but the officer suffered head injuries and is displaying concussion-like symptoms. 
  
 “We know it’s upsetting, we know it’s disturbing, every time a firearm is drawn, whether in a protest situation or in a felonious car stop,” Browne said. “But we need to understand that these officers were under attack.” 
  
 Short said the officers were wearing street clothes and had their faces covered with bandannas. Browne confirmed this and though he described them as “plainclothes” and not undercover, he said it was common for these officers to mimic the dress of the other protesters “so they blended in with the crowd.” 
  
 He said the main objective of these officers was to collect information on where the group was going. He said they were able to gather that information from their car in the back, overhearing plans to take Highway 24 and Interstate 80 twice on Tuesday and enabling other CHP officers to prevent those attempts. 
  
 Browne said the Oakland Police Department was aware of the CHP’s plainclothes operations, and that they had an officer in Berkeley’s emergency operations center. Oakland police did not return calls seeking a comment. 
  
 Several protesters took to Twitter to say that the officers had actually instigated acts of vandalism and were banging on windows alongside others. 
  
 Short said he did not see the officers’ actions because protesters had surrounded him and had tried to take the memory card out of his camera. Noah Berger, another freelance photographer, was similarly accosted by protesters. 
  
 But Browne said though the agency was investigating the use of force, the officer’s arrest and events leading up to it, he said he has not received reports that the officers instigated vandalism. In fact, they only got out of the car to gather information on the vandals, he said. 
  
 The officer that drew his weapon is still on active duty, Browne said. Both officers are assigned to the auto theft unit of the agency’s detective bureau. 
  
 The march had earlier been peaceful, beginning in Berkeley with hundreds of participants calling for justice for Michael Brown and Eric Garner, two unarmed black men who were killed by white police officers in Missouri and New York. The recent demonstrations were set off when grand juries declined to file charges in the cases. 
  
 Protesters on Wednesday disrupted traffic at times, as well as a UC Berkeley lecture given by PayPal co-founder Peter Thiel, but did not take over any freeways. 
  
 In addition to the man arrested in connection to the officer attack, CHP arrested another protester in Oakland on suspicion of public intoxication, Browne said. 
  
 Vivian Ho is a San Francisco Chronicle staff writer. E-mail: vho@sfchronicle.com Twitter: @VivianHo ||||| The California Highway Patrol detective who aimed his firearm at a crowd of Bay Area protesters on Wednesday night was protecting another plainclothes officer who had been attacked only seconds earlier, and was trying to stop an advancing crowd of at least 30 people, a CHP commander said Thursday afternoon. 
  
 The officer told his commander that he was in fear for his life, said Chief Avery Browne of the CHP. The case will be reviewed by the Alameda County district attorney's office and CHP's Internal Affairs division, but Browne said "no one has provided any evidence that the officers were inappropriate in what they did." 
  
 "Chief, I didn't know if I was going to make it out of this thing alive," the officer said, according to Browne. 
  
 Pictures of the undercover officer, who was aiming at a crowd of Oakland demonstrators marching against recent grand jury decisions in the police-involved killings of Eric Garner and Michael Brown, went viral Thursday, stoking anger and fear as protests in the Bay Area continue to result in looting and arrests. 
  
 In the two photos, the plainclothes officer can be seen pointing a handgun at a camera and a crowd while another officer wrestles with a protester who appears to be covering his head. 
  
 Speaking to reporters during a phone conference, Browne of the agency's Golden Gate Division, said the officers had been following a group of protesters on Wednesday night when they received information that demonstrators were vandalizing a cellphone store near Ninth and Harrison streets in Oakland. 
  
 Two undercover cops pulled guns on #berkeleyprotests and subsequently arrested people w/ masks still on their faces. pic.twitter.com/Os0EQ0p7tt — Anonymous (@OpBerkeley) December 11, 2014 
  
 The officers, both detectives with the auto theft unit, had been following the crowd in an unmarked vehicle all night, Browne said. They left the car to walk among the crowd for 18 blocks before some of the protesters recognized them as police officers. 
  
 "At that time an individual accused one of our employees or recognized him as being a police officer and started yelling 'Police! Police!'" Browne said. 
  
 One of the protesters grabbed at an officer, not the man pictured with the handgun, and the two engaged in a struggle, Browne said. Between 30 and 50 demonstrators circled the officers, and the officer seen holding the weapon displayed his badge and baton and ordered them to stop. 
  
 When they ignored his orders, Browne said the officer drew his weapon. 
  
 "We’re extremely, extremely cognizant and very sensitive to the display of a gun," Browne said. "It’s very upsetting, it’s very disturbing to individuals who are trying to peacefully protest.” 
  
 Oakland police officers arrived seconds later, and the crowd dispersed. The man who attacked the officer has been charged with assault and remains jailed in Alameda County, according to Browne, who declined to identify the officer or the suspect. 
  
 Police are searching for a second woman who also kicked the officer who was attacked. Browne said the officer suffered minor injuries. 
  
 The CHP and other law enforcement agencies have been using plainclothes officers to observe and gather information about the protests, and Browne said tensions have risen among officers as several protesters have posted pictures of themselves on social media claiming to be armed with handguns, rocks and explosive devices. 
  
 Despite Wednesday's incident, Browne said he will continue to deploy plainclothes officers to gather intelligence from protesters. Officers have also been creating Twitter accounts, on which they don't identify themselves as police, in order to monitor planned demonstrations. 
  
 "We’re very cognizant of the danger and yes we will continue to use plain clothes officers to observe. Their job is not to get in the middle of it," he said. 
  
 Browne said the officers involved in Wednesday night's incident did not see any weapons in the crowd, and of the more than 200 arrests CHP officers have made during this week's protests, very few suspects have been charged with weapons offenses. 
  
 The officers were not armed with chemical spray, according to Browne, who said he may consider asking officers responding to protests to carry more non-lethal options in the future. 
  
 Oakland has been home to some of the nation's most violent protests after grand juries in New York City and Ferguson, Mo., declined to indict police officers in the killings of unarmed black men this year. 
  
 Demonstrators have taken to Northern California streets each night this week, blocking the 24 Freeway and throwing rocks and incendiary devices at police. Nineteen people were arrested Wednesday night. About 200 people have been arrested this week in Oakland and Berkeley. 
  
 CHP officers have also used rubber bullets to quell demonstrations this week, an allegation that may have led "hacktivist" group Anonymous to launch a cyber attack against several websites connected to Oakland's city government on Wednesday. 
  
 Oakland's City Hall, police and fire department websites were offline for nearly 24 hours. |||||

Apparently in fear for his life, a cop pulled a gun on a group of 30 to 50 people in Oakland, Calif., Wednesday night as crowds protested the killings of Eric Garner and Michael Brown. According to a California Highway Patrol chief, Avery Browne, the plainclothes detective, caught on camera by a freelance photographer for the San Francisco Chronicle, was walking with his partner after reports of looting at a T-Mobile store when "an individual accused one of our employees or recognized him as being a police officer." Browne says a protester attacked and punched the officer's partner—who is reportedly showing concussion symptoms—and when a badge and baton didn't stop the circling crowd, the detective drew his gun, Browne tells the Los Angeles Times. The freelance photographer, however, says no badge appeared. "Somebody snatched a hat off the shorter [officer]'s head" and "a guy ran up behind him, knocked him down on the ground," he says. Though the sight of a gun is "very disturbing," Browne says "no one has provided any evidence that the officers were inappropriate in what they did." He adds the officer who pulled his weapon told him, "I didn't know if we were going to make it out alive." The crowd dispersed seconds later as Oakland police arrived. A suspect was booked on suspicion of assault; police say they're looking for a woman who kicked the punched officer in the head. Browne tells the Chronicle undercover officers will continue to monitor protests "to keep the public safe."