An immigration court judge has granted bail to Milford High School junior Marcelo Gomes Da Silva.

The judge issued a $2,000 bond, which Da Silva can post. U.S. Immigration and Customs Enforcement agents arrested him on Saturday, May 31, a day before his girlfriend graduated from Milford High School.

The detention hearing occurred on Thursday, June 5, in Chelmsford, Massachusetts.

Da Silva was taken away by ICE agents when he was stopped May 31 on his way to volleyball practice.

Federal officials said they targeted Sa Silva's father, Joao Paulo Gomes-Pereira, who they claim is an undocumented immigrant from Brazil. ICE said they didn't intend to arrest the 18-year-old Da Silva, but when agents realized it was him, not his father, who was driving the car, they had to detain him because he was living in the U.S. without legal status.