 After repairing this damage to some extent, the elector died at Ingolstadt in September 1651, leaving his duchy much stronger than he had found it.The recovery of the Upper Palatinate made Bavaria compact; the acquisition of the electoral vote made it influential; and the duchy was able to play a part in European politics which internal strife had rendered impossible for the past four hundred years.Whatever lustre the international position won by Maximilian I might add to the ducal house, on Bavaria itself its effect during the next two centuries was more dubious.