What government branch appoints Supreme Court justices?

Supreme Justices are nominated by the Senate.Then, the President appoints the justices. Therefore,the executive branch appoints supreme court justices