A man with a history of felonies has been arrested after police say his weapon discharged and the bullet went through the floor of his apartment, hitting his neighbor who was holding a toddler in the unit below.

Just after 10 p.m. Wednesday, officers with the Anchorage Police Department responded to Parsons Avenue near Irwin Street after reports of a shooting.

A community alert from the department says Ronny G. Smith, Jr., 46, was "manipulating a handgun in his apartment when it discharged."

The bullet traveled through the floor of Smith's apartment, through the ceiling of the apartment below and hit a man in the head. Police say the man was sitting on his living room couch with his son at the time of the shooting.

"The bullet did not penetrate the skull and bounced off," the alert reads. "The victim was transported to the hospital where he was treated for his wound and subsequently released."

The toddler was not injured.

Police say Smith is a felon who is not allowed to have a handgun. After being taken to APD for questioning, he was remanded at the Anchorage jail on charges of assault, misconduct involving a weapon and reckless endangerment.

Copyright 2019 KTVA. All rights reserved.