Police said the blast was caused by a bomb that went off while the court was in session.