§ 1-525. Judgment by default and inquiry on failure of defendant to give bond.
At any time after a duly verified complaint is filed alleging facts sufficient to entitle plaintiff to the office, whether this complaint is filed at the beginning of the action or later, the plaintiff may, upon ten days' notice to the defendant or his attorney of record, move before the judge resident in or riding the district, at chambers, to require the defendant to give the undertaking specified in G.S. 1-523. It is the duty of the judge to require the defendant to give the undertaking within ten days, and if it is not so given, the judge shall render judgment in favor of plaintiff and against defendant for the recovery of the office and the costs, and a judgment by default and inquiry to be executed at a term for damages, including loss of fees and salary. Upon the filing of the judgment for the recovery of such office with the clerk, it is his duty to issue and the sheriff's duty to serve the necessary process to put the plaintiff into possession of the office. If the defendant shall give the undertaking, the court, if judgment is rendered for plaintiff, shall render judgment against the defendant and his sureties for costs and damages, including loss of fees and salary. Nothing herein prevents the judge's extending, for cause, the time in which to give the undertaking. (1895, c. 105, s. 2; 1899, c. 49; Rev., s. 837; C.S., s. 880.)