James Francis Edward was the son of Mary II's father, James II of England. James II was the last Catholic monarch of England and he was deposed in 1688 in the Glorious Revolution. James Francis Edward was the heir to the throne, but he was never allowed to take the throne.
The Resolute Queen: Testing Your Knowledge on Mary II of England