The Supreme Leader appoints the head of the country's judiciary, who in turn appoints the head of the Supreme Court and the chief public prosecutor. There are several types of courts, including public courts that deal with civil and criminal cases, and revolutionary courts which deal with certain categories of offenses, such as crimes against national security. The decisions of the revolutionary courts are final and cannot be appealed.