Updated

A U.S. judge has ordered the pre-trial release of a teenager suspected of lying in the Boston bombing investigation, after prosecutors agreed to conditions.

Robel Phillipos, a 19-year-old University of Massachusetts Dartmouth student, is accused of lying to investigators about visiting suspect Dzhokhar Tsarnaev's dorm room three days after the bombings.

As part of the terms of Phillipos' release, U.S. Magistrate Judge Marianne Bowler said Monday that he will be in custody of his mother while wearing a GPS bracelet. He will be only be able to leave his home for medical emergencies, and is asked to refrain from use of alcohol or illegal drugs unless otherwise prescribed.

Phillipos was ordered freed on $100,000 bail secured by real estate put up by a third party, Reuters reports. He faces a maximum of eight years in prison if convicted.

Phillipos' resume, filed in court, shows he was majoring in marketing with a minor in sociology at UMass Dartmouth and expected to graduate in 2015.

The Tsarnaev brothers are accused of carrying out the bombings using pressure cookers packed with explosives, nails, ball bearings and metal shards. The attack killed three people and injured more than 260 others near the marathon's finish line.

Dzhokhar Tsarnaev was captured and remains in a prison hospital. He has been charged with using a weapon of mass destruction and faces a potential death sentence if convicted.

Phillipos will appear in court again on May 17.

Fox News' Nicole Busch and the Associated Press contributed to this report.