An arrest ordered by a judge or magistrate while presiding over a court proceeding. Such an arrest is done without a written complaint and is executed immediately, for example, an arrest of a person in a courtroom who has been found in contempt of court.