According to Rosenfeld and Ihsanoglu, al-Majriti was from Madrid and worked under the Caliphs al-Hakim II and Hisham II. He was considered the chief of the Andalusian mathematicians of his time and was also the teacher of many astronomers. He revised Bin Qurra's 'Figure of Secants' and Khwarizimi's 'Zij' and wrote two works on the construction of the astrolabe (Rosenfeld and Ihsanoglu, Mathematicians, Astronomers and Other Scholars of Islamic Civilisation and their Works (7-19th Century), Istanbul, 2003, p.106, no. 281).
As early as 1252 AD, three years before this copy of the work was copied, the Ghayat al-Hakim had been translated into Latin at the order of King Alfonso, and was given the title Picatrix. It was translated into Hebrew in the 15th century and printed in Latin and Arabic in Rotterdam in 1702 (Babel magazine, 1952, p. 49).
This is one of the four earliest copies of the work. Another copy of the work, dated to the 14th century, is in the Chester Beatty Library, Dublin (A.J. Arberry, A Handlist of the Arabic Manuscripts, Vol. II, Dublin, 1956, p.30, no. 3133).