WOODBURY - The Suffolk County Legislature has unanimously approved a bill to study turning the former John J. Foley Skilled Nursing Facility into a jail.

The move would reduce the need to spend $100 million on the construction of another county jail.

Officials from the state Commission of Correction are expected to assess the five-story Yaphank building next week.