In 1570 the emperor met the diet of Speyer and asked for aid to place his eastern borders in a state of defence, and also for power to repress the disorder caused by troops in the service of foreign powers passing through Germany. He proposed that his consent should be necessary before any soldiers for foreign service were recruited in the empire; but the estates were unwilling to strengthen the imperial authority, the Protestant princes regarded the suggestion as an attempt to prevent them from assisting their co-religionists in France and the Netherlands, and nothing was done in this direction, although some assistance was voted for the defense of Austria. The religious demands of the Protestants were still unsatisfied, while the policy of toleration had failed to give peace to Austria. Maximilian's power was very limited; it was inability rather than unwillingness that prevented him from yielding to the entreaties of Pope Pius V to join in an attack on the Turks both before and after the victory of Lepanto in 1571; and he remained inert while the authority of the empire in north-eastern Europe was threatened. In 1575, Maximilian was elected by the part of Polish and Lithuanian magnates to be the King of Poland in opposition to Stephan IV Bathory, but he did not manage to become widely accepted there and was forced to leave Poland. Maximilian died on 12 October 1576 in Regensburg while preparing to invade Poland. On his deathbed he refused to receive the last sacraments of the Church. He is buried in St. Vitus Cathedral in Prague. By his wife Maria he had a family of ten sons and six daughters. He was succeeded by his eldest surviving son, Rudolf, who had been chosen king of the Romans in October 1575. Another of his sons, Matthias, also became emperor; three others, Ernest, Albert and Maximilian, took some part in the government of the Habsburg territories or of the Netherlands, and a daughter, Elizabeth, married Charles IX of France. Maximilian's policies of religious neutrality and peace in the Empire afforded its Roman Catholics and Protestants a breathing space after the first struggles of the Reformation. His reign also saw the high point of Protestantism in Austria and Bohemia and unlike his successors, Maximilian did not try to suppress it. He disappointed the German Protestant princes by his refusal to invest Lutheran administrators of prince-bishoprics with their imperial fiefs. Yet on a personal basis he granted freedom of worship to the Protestant nobility and worked for reform in the Roman Catholic Church, including the right of priests to marry.