The City Council passed a bill Wednesday reinforcing the right of way for pedestrians when crossing the street, including when crossing during a flashing red hand or countdown.

The legislation updates outdated city rules, which state that pedestrians should not enter or cross roads during a flashing "Do Not Walk" sign.

When pedestrians encounter a flashing walk sign or a flashing sign with a countdown, the legislation states, "Pedestrians facing such signal are advised that there may be insufficient time to cross the roadway. Pedestrians already in the roadway shall proceed to the nearest sidewalk or safety island in the direction of such signal. Other traffic shall yield the right of way to pedestrians proceeding across the roadway within the crosswalk towards such signal for as long as such signal remains flashing."

Public Advocate Letitia James introduced the bill, calling it common-sense legislation that reflects how New Yorkers operate.

The bill passed with unanimous support in the City Council. It takes effect in 90 days.