*415 By the Gowr%
Wi-iiton, C. J.We do not see how this judgment can "be sustained.
The bill of exceptions states that “after the demurrer had been argued by counsel, and submitted to the county judge, he said that he knew not how he could render a judgment for the plaintiff for the want of any evidence before him of the amount due on the judgment described in plaintiffs declaration. Whereupon plaintiff offered in evidence the judgment-docket of said court, to which defendant objected, because the case had been submitted, but the court received it, and the defendant excepted-”
It appears, that although the question submitted to the judge was on the .demurrer to the declaration only, he heard testimony as to the amount of the judgment described in the plaintiff’s declaration, although the testimony was objected to by the defendant. This was clearly erroneous. The simple question for the judge to decide, was, whether the declaration set out a good cause of action. If’ it did, and if the defendant did not obtain leave to plead, the plaintiff should have had a judgment, and its amount should have been ascertained by a writ of inquiry, or by the clerk of the court, under the statute, unless the parties agreed that the judge should himself ascertain it. As the case stood, the judge had no authority to decide any question, except the simple one raised by the demurrer to the declaration-No evidence should therefore have been received to establish any question of fact. The judgment must be reversed.