(WTVO) — Two stateline law enforcement agencies are getting grants from the Illinois State Police.

The Rockton Police Department and South Beloit Police Department are part of 32 groups sharing $1 million. The money will go towards keeping guns out of the hands of those who pose a significant threat to themselves or others.

Grants will help pay for officers to conduct enforcement details now through the end of the grant period.