The boys sought to lure the girl away from school, where the older boy planned to stab her, prosecutors said.

“I was going to kill her with the knife and (the younger boy) was supposed to use the gun to keep anyone from trying to stop me or mess up our plan,” the older boy told police, according to the declaration of probable cause filed in court.

They intended to kill the girl because “she’s rude and always made fun of me and my friends,” the younger boy told investigators, according to the documents.