This section applies in mandamus. State ex rel. Hansen v. Carrico, 86 Neb. 448, 125 N.W. 1110 (1910).
All criminal prosecutions must be by, and carried on in, the name of the "State of Nebraska." Worthen v. County of Johnson, 62 Neb. 754, 87 N.W. 909 (1901).
"State of Nebraska, Gage County, to the Sheriff of said County" complies with this section. Hoyt v. Little, 55 Neb. 71, 75 N.W. 56 (1898).
Under Constitution of 1866 requiring all process to run in the name of "The People of the State of Nebraska," a prosecution under a city ordinance "In the Name of the City" is void. City of Brownville v. Cook, 4 Neb. 101 (1875).