A Minneapolis man said he came to the Mall of America Friday “looking for someone to kill” before throwing a 5-year-old boy nearly 40 feet over a railing in an attack that shocked the nation.

Emmanuel Deshawn Aranda, 24, was formally charged Monday with attempted first-degree premeditated murder in the attack. He is expected to make his first court appearance Tuesday, when prosecutors are expected to seek $2 million bail.

The boy, named Landen, fell about 40 feet to a stone floor. According to a criminal complaint filed in Hennepin County District Court, medical responders at the scene said the boy’s injuries included multiple fractured bones, including in his arms and legs. He was bleeding from the head and had massive head trauma.

He’s currently at Children’s Hospital in Minneapolis, where his condition is listed as critical.

Aranda confessed to the attack, according to a criminal complaint filed in Hennepin County District Court.

“Defendant … said that he was the one who had thrown the 5-year-old Victim from the balcony and fled,” the complaint said. “He said he formed a plan to kill someone at the Mall” on the day before the actual attack, but it didn’t work out that day.

Aranda told investigators he returned to the mall on Friday, April 12.

“He said he planned to kill an adult, because they usually stand near the balcony, but he chose the Victim instead,” the complaint said.

Aranda told investigators he had been coming to the mall for several years “and had made efforts to talk to women in the Mall, but had been rejected, and the rejection caused him to lash out and to be aggressive.”