Original: The islands were named after Spanish Queen Mariana of Austria in the 17th century, when Spain started the colonization of the archipielago.
Simplified: In 1667 Spain formally claimed them, and named them after Spanish Queen Mariana of Austria.