ST. PAUL, Minn. (AP) — House lawmakers say they’ve finally reached a compromise for how long law enforcement agencies can keep location data from license plate readers.

Police agencies across Minnesota are already using the cameras to help track down stolen cars and suspected criminals. But efforts to regulate their use have stalled for two years at the Legislature due to a divide about how long data can be stored.

READ MORE: 'A Beautiful Journey': Lynx Forward Napheesa Collier Expecting First Child

A House panel passed Rep. Tony Cornish’s bill on Tuesday setting that window at 30 days. The Vernon Center Republican says they’ve finally reached a middle ground between police representatives and civil liberties advocates. The bill now advances to the House floor.

READ MORE: Conner Rhoades, 21, Reported Missing In Brooklyn Park

The long slog to pass a law isn’t over yet. The Senate is advancing a bill with a 90-day retention period.

MORE NEWS: Children's Wisconsin Still Treating 8 Victims From Waukesha Christmas Parade Crash

(© Copyright 2015 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)