The Kingdom of Mallorca was an insular realm off the east coast of modern day Spain, which included the islands of Mallorca, Menorca, Ibiza and Formentera. The islands were conquered from the Almohad Caliphate by James I of Aragon, and were integrated in the Crown of Aragon. The king became known as James the Conqueror due to the Conquest of Mallorca.
When James I died in 1276, he divided his territories between his three surviving sons. Peter, the eldest, succeeded his father in the mainland as Peter III of Aragon or Peter the Great. The Kingdom of Mallorca passed to the younger son James, who reigned as James II of Mallorca.