Charles II of Spain, otherwise known as Charles the Impotent. As a king you have two jobs: produce an heir, and rule successfully. Unfortunately, due to numerous health problems resulting from at least five generations of inbreeding, Charles had trouble with all of it.