Even in the US, the Judiciary is not fully free in a sense. First of all, the Judges of the Supreme Court (in fact all the federal Judges) have no term limit. They serve un till they are unable to work due to ailing health or if they are involved in some kind of crime or if they pass away.
These Judges are nominated by the President who in turn gets the feed back from the Attorney General on behalf of the Justice Department. These Judges generally are the members of the courts of appeal. Of course once a Judge is nominated by the President, he has to get confirmed by the Senate, at least 60 out of 100 (3/5th) senator votes are required for the confirmation.
Now as you can see, first of all, the Justice Department functions under the directive of the Attorney General who is nominated by the President. So when he forwards the names of the short listed Judges, he makes sure that these Judges agree (or tend to agree) with the basic philosophy (liberal or conservative) of the President and the ruling party. And this is where the things get politicized. At any rate, the short listed Judges are generally very well qualified irrespective of their political inclinations.
Examples also exist where the Judges did not quite agree with the President's philosophy who actually had appointed them in the first place.