An 8-year-old boy brought a loaded handgun to a Queens elementary school and sold it to a classmate for $3, police said.
The weapon was discovered when the second boy brought the gun home and showed it to his mom, police said.
The mom rushed to PS 107 in Flushing to report what happened, and school officials called police.
The child and mom were at the 109th Precinct Thursday evening, and police were looking to speak to the other child who is believed to have brought the loaded gun to class, authorities said.
No one was injured, police said.
Investigators said the weapon is a 9 mm and had been "defaced," which means the weapon could be hard to trace.
A spokeswoman for the Department of Education would not comment.
"The school notified the NYPD and now it’s a police matter," said spokeswoman Margie Feinberg.