A teenager being prosecuted for domestic violence leapt from the fourth-floor balcony inside the Edward W. Brooke Courthouse in downtown Boston Monday and was rushed to a hospital with serious injuries, officials said.

The name of the teenager was not disclosed.

According to State Police spokesman David Procopio, the teenager had recently been arrested by Boston police on domestic violence charges. He was not in custody and arrived on his own at the courthouse, where he was being prosecuted in Boston Juvenile Court.