SPRINGFIELD, Mo. (AP) — A man who was found guilty of murdering three people and injuring two others in Missouri in 2018 was sentenced Friday to five consecutive life sentences.

Luis Perez, 27, was sentenced after being found guilty in October of three counts of first-degree murder and two counts of assault, The Springfield News-Leader reported.

Court documents say Perez was killed two former roommates, Steven Marler, 38, and Aaron “Joshua” Hampton, 23, and injured two others on Nov. 1, 2018, after he was kicked out of their Springfield home.

The next day, Perez killed 21-year-old Sabrina Starr, who gave him the weapon he used to kill the other victims, police said.

In the days after Perez was charged, U.S. Immigration and Customs Enforcement criticized Middlesex County, New Jersey, for not holding Perez in jail in December 2017 when he was arrested there on suspicion of multiple felonies.

ICE said it had asked that Perez be kept in jail while it started deportation proceedings against him. He came to the U.S. with his family when he was 18-months-old and was in the country illegally.

One other person has been convicted of providing Perez with the bullets he used. Two others have pending charges.