Velazquez, in addition to being an exceptional painter, also played an important role as a Spanish court official. During his career, he held several positions at the court of Philip IV, including that of royal aposentador, which gave him privileged access to palace life and members of the royal family. This position influenced his art, as it gave him the opportunity to paint portraits of royalty and to capture court life with unprecedented realism and intimacy.