The state Senate passed House Bill 5389 on a 35-1 vote Wednesday night as the legislative session drew to a close, requiring police departments that use Tasers or other electronic weapons to adopt policies on their use and to track and report all incidents in which they are deployed.

The House of Representatives passed the bill May 2 on a 102-38 vote. The NAACP of Connecticut and American Civil Liberties Union of Connecticut welcomed the legislation and urged Gov. Dannel P. Malloy to sign it.

“We’re grateful to legislators for recognizing the risks of Tasers and for passing this bill,” said David McGuire, staff attorney for the ACLU of Connecticut. “We’ve been deeply concerned about the number of people who have died after being stunned with Tasers and the lack of information about how police are using them.”

After the death of José Maldonado in police custody last month, the ACLU of Connecticut and NAACP of Connecticut urged legislative leaders to find a way to pass reform in this year’s legislative session. Maldonado, 22, a resident of Manchester, died after an officer Tasered him at police headquarters in East Hartford. He was the 14th person to die after being Tasered by police in Connecticut.

Ten of the 14 people who died, or 71 percent, were African American or Latino, an alarming racial disproportion. “This is a drastic disparity that we must address before more people die,” said Scot X. Esdaile, president of the NAACP of Connecticut. “Police have represented Tasers as non-lethal but we’ve learned otherwise.”

Under the new law, which will take effect Jan. 1, 2015, police departments must adopt a policy on Taser use at least as stringent as a model policy developed by the Police Officer Standards and Training Council. They must also report the details of each Taser deployment to the state Office of Policy and Management. “With that information and with policies that specifically address electronic weapons, we will move us toward safe and appropriate use of this important but potentially lethal law-enforcement tool,” McGuire said.

In 2011 and again in 2013, the ACLU of Connecticut and NAACP of Connecticut supported Taser reform legislation. Three people died after being Tasered in Connecticut since the reform bill failed last year.