after consideration, overruled the demurrers, and directed judgment for the plaintiff, according to the prayer of the complaint.