MINNEAPOLIS (AP) — A man charged with stabbing two shoppers at the Mall of America has a history of mental illness.

Prosecutors have charged 20-year-old Mahad Abdiraham with causing great bodily harm to two brothers.

The complaint says Abdiraham's 19-year-old victim was coming out of a dressing room at Macy's Sunday when Abdiraham began slashing him. The man was cut in the face, head and arms and required a blood transfusion.

The complaint says the man's 25-year-old brother went to help and was cut in the hands and back, requiring 42 stiches.

Abdiraham is making his first court appearance Wednesday and it's unclear if he has an attorney.

Last year, Abdiraham was charged with stabbing two staff members with a pen at an in-patient psychiatric unit. Court records show he was acquitted due to mental illness.