In law, a judgment is the formal decision made by a court following a lawsuit. At the same time the court may also make a range of court orders, such as imposing a sentence upon a guilty defendant in a criminal matter, or providing a remedy for the plaintiff in a civil matter. In the United States, under the rules of civil procedure governing practice in federal courts and most state courts, the entry of judgment is the final order entered by the court in the case, leaving no further action to be taken by the court with respect to the issues contested by the parties to the lawsuit. With certain exceptions, only a final judgment is subject to appeal. In some legal systems (particularly civil law jurisdictions), a judgment is not considered final until after appeals have been exhausted or waived.