He had connections through his father in-law to which he was asked to paint a portrait of the young King Phillip IV. Philip was delighted with the result that he immediately appointed Velázquez as one of his court painters, and from then on he would allow no one else to paint him.