Massachusetts State Police will hold sobriety checkpoints the weekend before Christmas outside of Boston and in Central Massachusetts.

A checkpoint will be set up in Suffolk County on Friday, Dec. 20 into Saturday morning, Dec. 21 at an undisclosed location. Middlesex County will host a checkpoint on Saturday, Dec. 21 into Sunday, Dec. 22.

The roadblocks' purpose is to stop and arrest people who are driving under the influence of drugs or alcohol. The checkpoints will be operated during varied hours, with the selection of vehicles not arbitrary, according to a release from the department.

Sobriety checkpoints are funded through grants from the Highway Safety Division of the Massachusetts Executive Office of Public Safety and Security.