ATLANTIC CITY -- A man shown on video being attacked by an Atlantic City police K-9 will be provided the identities of other people who have complained about officers' misconduct.

U.S. District Judge Ann Marie Donio ruled April 9 that Atlantic City has 20 days to release the information to David C. Castellani, CourthouseNews.com reported. It can only redact the birth dates, social security numbers and vehicle information of witnesses and complainants.

Castellani is suing the police for using excessive force on him when they arrested him outside the Tropicana in June 2013.

An Atlantic County grand jury indicted Castellani in January, more than 18 months after he was arrested and charged with assaulting a police officer outside the Tropicana after being kicked out of a nightclub because he was underage.

A surveillance video showed four police officers take down Castellani and strike him repeatedly after he shouts at them from across the street. A fifth police officer, Sterling Wheaten, then releases a K-9 on Castellani .

Wheaten was named in 21 civilian complaints between 2008 and 2001 but never disciplined, CourthouseNews.con said. Most of the complaints (15) involved the use of excessive force.

Castellani needed 200 stitches after being mauled by the dog.

His family announced plans to sue for excessive force in the fall of 2013 after video footage surfaced of the police dog biting his neck while officers beat him. A suit was filed in October.

In a related ruling this month, U.S. Magistrate Judge Joel Schneider ordered Atlantic City to turn over every internal affair file from the past 13 years, according to a report.

There are 30 civil rights suits pending against the city's police department.

Craig McCarthy, Alex Napoliello and Andy Polhamus contributed to this report.

Jeff Goldman may be reached at jeff_goldman@njadvancemedia.com. Follow him on Twitter @JGoldmanNJ. Find NJ.com on Facebook.