A teenage babysitter was arrested Wednesday for accidentally shooting a 10-year-old boy while taking selfies with a gun, authorities and a report said.

Caitlyn Smith, 19, the boy’s aunt, was watching him Tuesday evening at a Houston apartment when she found the weapon and began posing with it, CNN reported.

That’s when the gun went off, hitting the child in the stomach.

The boy underwent surgery and was in serious condition Wednesday. He was expected to make a full recovery, Harris County Sheriff Ed Gonzalez tweeted.

Smith was booked into Harris County Jail on charges of causing serious bodily injury to a child, public records show.

She is due in court Friday.

“Firearms are dangerous weapons so take precautions to make sure things like that don’t happen,” Senior Deputy Thomas Gilliland told CNN.

“Taking selfies was not the best thing to be doing.”