He can’t stay out of trouble.

The man who attacked a group of cops with their own Taser was arrested again early Sunday for assaulting a Brooklyn corrections officer – marking his third attack on law enforcement officers in a week, law enforcement sources said.

Anthony Salgado, 25, whose wild melee with four cops in Brooklyn last Sunday was caught on video, was charged with assault for socking the corrections officer in the eye at the Brooklyn Detention Complex, sources said.

The attack left the officer with a broken eye socket.

Salgado landed another assault charge early Tuesday morning when he lost his temper while handcuffed to a bed at Kings County Hospital, punching a 23-year-old NYPD cop who was monitoring him.

The violent suspect had been in police custody since last Sunday night after he put a fight with a group of four NYPD cops who tried to arrest Salgado, a suspect in string a cell phone robberies in Brooklyn.

During the brawl outside a deli on Nostrand Avenue, Salgado somehow managed to grab an officer’s Taser and stun three of the cops, despite being whacked by two officers with their batons.

He ran away with the weapon but was nabbed a block away.