The courts enjoy legal, financial and constitutional freedom guaranteed by Ukrainian law since 2002. Judges are largely well protected from dismissal (except in the instance of gross misconduct). Court justices are appointed by presidential decree for an initial period of five years, after which Ukraine's Supreme Council confirms their positions for life. Although there are still problems, the system is considered to have been much improved since Ukraine's independence in 1991. The Supreme Court is regarded as an independent and impartial body, and has on several occasions ruled against the Ukrainian government. The World Justice Project ranks Ukraine 66 out of 99 countries surveyed in its annual Rule of Law Index.