(WTVO/AP) — The man accused of throwing a 5-year-old boy from a third-floor balcony at the Mall of America was sentenced to 19 years in prison on Monday.

Emmanuel Aranda, of Minneapolis, pleaded guilty to attempted premeditated first-degree murder

As part of a plea deal, prosecutors agreed not to pursue an aggravated circumstances component to the charge that could have meant an additional year in prison for Aranda.

Authorities said earlier that Aranda told them he went to the mall on April 12 “looking for someone to kill” and chose the boy at random.

Aranda said little in court Tuesday, speaking only to give yes-or-no answers to questions about whether he understood what he was admitting.

The child suffered head trauma and multiple broken bones but survived.

For more local news, download the MyStateline app and subscribe with Alexa.

Follow us on Facebook, Twitter and Instagram!