A Brooklyn jury handed out a $25 million award Friday to a hulking ex-con who was shot during a struggle with an NYPD sergeant who was trying to bust him on a drug rap, court papers state.

Eugene Sims, 39, was paralyzed from the waist down when Sgt. Sean O’Brien shot him during the life-or-death confrontation outside a Bushwick bodega on April 6, 2009, sources told The Post.

The cops approached Sims because they thought he was conducting a drug deal. Sims ran and cops caught him from behind. Police initially said Sims had a handgun and a gun was found at the scene — though he was later acquitted on the weapons charge, sources said.

The six jurors unanimously agreed that the sergeant used “excessive force” in shooting Sims, and awarded him $16.5 million for pain and suffering, court papers state.

Sims also won $8 million for future medical expenses and $200,000 for the 10 days he spent in jail after he was shot.

Another $500,000 for ­unlawful arrest brought the total to $25.2 million.

“Plaintiff was wantonly, intentionally, maliciously, illegally and brutally assaulted, attacked and shot by O’Brien,” states the Brooklyn Supreme Court lawsuit, which was filed in 2010. “Plaintiff was severely and permanently injured and damaged.”

Sims, who also goes by the alias James Smalls, served time upstate for felony assault in the mid-1990s, records state.

“This verdict clearly supports the anti-police atmosphere in the city of New York and the lunacy in how criminals are able to game the city. The message is clear: New York City will pay criminals big money if they come here to commit a crime,” said Sergeants Benevolent Association president Ed Mullins.

Sims’ attorney, Robert God­osky, declined to comment. Sims could not be reached for comment.

“We are disappointed with the verdict and considering our options,” said city Law Department spokesman Nick Paolucci.

The NYPD found that O’Brien did nothing wrong, sources said.

The sergeants union even gave O’Brien one of its “Sergeant of the Year” awards.

“Sgt. Sean O’Brien of Narcotics Borough Brooklyn North for his role in a shooting incident and violent struggle that led to the arrest of a man wanted by federal authorities,” reads the notice in the association’s publication. It was unclear why the suspect was wanted by the feds.

Earlier this year, the city settled a case involving a violent thug who was shot by a cop.

Ruhim Ullah, 24, was shot by officers while waving an 18-inch blade at them in 2010. He later sued the department for $3 million, but got a $5,000 settlement from the city — even though his own attorney said the shooting was probably justified.