Original: He later moved to Madrid where he studied with Anton Raphael Mengs, a painter who was popular with Spanish royalty.
Simplified: Goya later moved to Madrid where he studied with Anton Raphael Mengs, a painter who was popular with Spanish royalty.