(CNN) A man was sentenced Monday to 19 years in prison for throwing a 5-year-old boy from a third-floor balcony at Minnesota's Mall of America.

Emmanuel Aranda

Aranda said he intended to kill the boy April 12 when he threw the child over a railing at the mall in Bloomington. The boy fell 40 feet and suffered extensive injuries.

Aranda told police he had been frustrated by women rejecting him at the mall, and that he had intended to kill an adult there the day before.

The boy's family said in a statement April 26 that he was "alert and conscious" after two weeks in critical condition.

Read More