 Ferdinand did not force the Lutheran noblemen to convert to Catholicism, but forbade them to employ Protestant priests.Ferdinand married his cousin, Maria Anna of Bavaria, in Graz on 23 April 1600.Their marriage improved the relationship between the Habsburgs and the Wittelsbachs, which had deteriorated because of the appointment of Ferdinand's brother Leopold V to the Bishopric of Passau.