Role of judiciary in democracy