The brother of the suspected Parkland high school gunman pleaded no contest Thursday to trespassing on the campus where the deadly rampage happened and was sentenced to time served and six months of probation.
Judge Melinda Kirsch Brown also ordered Zachary Cruz to enroll in therapy, wear an ankle bracelet and said he cannot possess firearms or ammunition.
Cruz was released from jail after the hearing but said nothing to reporters as he left.
The 18-year-old was arrested March 19 after police found him skateboarding at Marjory Stoneman Douglas High after school. Administrators had told him not to come on campus.
Cruz is the younger brother of Nikolas Cruz, who's accused of killing 17 students and staff members at the school Feb. 14. The Cruz brothers attended Stoneman Douglas but did not graduate.
According to an arrest report, Zachary Cruz told officers he came to the school to "reflect on the school shooting and soak it all in." He did not resist arrest and the report made no mention of any weapons.
Joseph Kimok, an attorney for Zachary Cruz, read a statement from him saying he was sorry if he scared anyone by visiting the school. The attorney also said Zachary Cruz had never been told to stay away from the school.
The judge Thursday also said Zachary Cruz must be tested to make sure he isn't consuming drugs or alcohol and must stay at least 1 mile from the school.
Nickolas and Zachary Cruz shared the same biological mother but had different fathers. Both were adopted at very young ages by Roger and Lynda Cruz. Lynda Cruz died in November and their father died some years earlier.