JEFFERSON COUNTY, Alabama -- Two McAdory High School students were arrested after a drug dog sniffed out marijuana in their cars in the school parking lot.

Jefferson County sheriff's deputies took the dog to the school Tuesday for a random check of lockers. Students were put on lockdown to avoid contact with the dog, said Chief Deputy Randy Christian.

After the locker search, the dog was taken outside to search the senior parking lot. The dog found two bags of what authorities believe to be marijuana in the back seat of one vehicle, and 12 bags of what they believe to be marijuana in the trunk of another vehicle.

The two male students, both 18, were booked into the Jefferson County Jail. Ian James Haddock is charged with second-degree unlawful possession of marijuana. He was released from the jail on $1,000 bond. Eric Benison is charged with first-degree unlawful possession of marijuana. He was released from the jail on $2,500 bond.