How did the knights of the round table become knights?

they were knighted by king Arthur