BROOKLYN - Gov. Andrew Cuomo signed today a law making texting while driving a primary traffic offense, allowing police to pull a driver over directly for it.

Cuomo introduced his own tougher texting-while-driving ban toward the end of the legislative session. Lawmakers passed their own bill, which would include the penalty of two points on a license if a person is found guilty of texting behind the wheel or using any other mobile device without a headset. Cuomo wanted to make the infraction three points on a license.

New York enacted a texting-while-driving ban in 2009, but it did not allow police to pull over drivers for the act. Lawmakers say they hope the new rule will make the roads safer.