A man who allegedly attacked seven Revere police officers - sending two to the hospital - had bail set at $25,000 today, the Suffolk County District Attorney's office reports.

Joseph Parker, 34, who listed addresses in two different towns, first went after two cops on a traffic detail at Revere Beach Parkway near Mill Street around 12:40 a.m., the DA's office says.

One of them, a lieutenant, stopped traffic as construction workers removed traffic cones from the roadway.

Parker allegedly stopped short in front of the lieutenant, rolled down his window, and said, “I know why you stopped me.” He then allegedly exited the vehicle, began shouting expletives, and struck the officer, knocking the lieutenant to the ground and causing him to hit his head. He then allegedly began to move toward the second officer.

Parker's two passengers, ages 32 and 33, exited the vehicle and restrained him while the second officer called for assistance and checked on the fallen lieutenant. The lieutenant was briefly unresponsive but regained consciousness a short time later and was transported to Massachusetts General Hospital, where he was treated for a concussion and evaluated for head injuries.

Meanwhile, three more officers responded to the scene and attempted to take Parker into custody as he struggled and resisted those efforts. Once he was handcuffed and placed in a cruiser, he allegedly kicked the rear window until it cracked, removed his shoes, and wedged his feet through the grate surrounding the rear compartment in a bid to kick it out entirely.

At this stage, officers removed Parker from the cruiser again. When he calmed down somewhat, they attempted to place him back in the cruiser, at which point he began kicking them. One officer used his department-issued Taser to subdue him, and Parker was eventually secured within the vehicle.

Parker continued his erratic behavior at the station, alternately cooperating with booking officers and shouting expletives at them. When he was read his Miranda rights, he recited them along with the officers. When officers began to escort him to the lockup, however, he became incensed.

“What the [expletive] are you talking about?” he asked, gesturing to the exit. “I’m walking out that door.”

Parker allegedly backed into a corner, crouched into a boxer’s stance, and raised his fists, challenging the officers to fight him. As several officers attempted to calm him down, another walked into the room to assist and Parker allegedly rushed him and punched him in the face. This led to another struggle in which one officer suffered leg injuries requiring treatment at MGH and three others suffered cuts and abrasions. The metal detector in the booking room was knocked to the ground and damaged during the incident.