Original: The Stuarts lived on the European mainland after that, occasionally attempting to regain the throne with the aid of France and Spain.
Simplified: The Stuarts lived on the European mainland after that, sometimes trying to get back the throne with the help of France or Spain.