Domenico Scarlatti was an Italian composer born in Naples in 1685. He spent much of his career in Spain, where he composed over 500 keyboard sonatas and helped introduce Spanish musical styles to Italy. Scarlatti served as music master for Queen Maria Barbara of Portugal and later Queen Maria Barbara of Spain. He remained in Madrid until his death in 1757, becoming closely associated with Spanish music during his time there.