Reluctantly, by following the imperial diet, most of the states of the empire joined Austria's cause.