Jacobitism was a political ideology advocating the restoration of the senior line of the House of Stuart to the British throne.