BOSTON (AP) — Police have arrested an 18-year-old Massachusetts man after he was allegedly found sleeping with a loaded gun tucked under his arm in the playground area of a Boston elementary school.

Rodney Cooper was arrested Tuesday morning and charged with unlawful possession of a firearm, possession of a firearm on school property and several other weapons offenses.

READ MORE: Keller @ Large: In Politics, Gender Still Matters

Officers were dispatched to Oliver Wendell Holmes Elementary School just before 6 a.m. following reports of an unconscious man who appeared to have a gun next to him.

After arriving on the scene, officers quickly removed the gun before waking up Cooper. The Dorchester man was taken into custody following a brief struggle.

READ MORE: Brigham & Women's Dermatology Program Offers Specialized Care For Patients Of Color

Police say Cooper couldn’t produce a license to carry a weapon.

It’s unclear if Cooper has an attorney who could comment.

MORE NEWS: Massachusetts Reports 68 New COVID Cases, 5 Additional Deaths

Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.