Bail reforms intended to ensure that indigent defendants are not jailed simply for lack of resources won final passage in the Senate early Wednesday on a 29 to 7 vote.

“I think this is an enlightened piece of legislation,” said Senate President Pro Tem Martin M. Looney, D-New Haven.