 The legal code is now based on Islamic law or sharia, although many aspects of civil law have been retained, and it is integrated into a civil law legal system.According to the constitution of the Islamic Republic, the judiciary in Iran "is an independent power".The entire legal system—"from the Supreme Court to regional courts, all the way down to local and revolutionary courts"—is under the purview of the Ministry of Justice, but in addition to a Minister of Justice and head of the Supreme Court, there is also a separate appointed Head of the Judiciary.