 Ferdinand was crowned king of Hungary on 1 July, and he returned to Vienna two weeks later.Ferdinand and Maximilian III decided to get rid of Klesl, although the cardinal supported their demand for a more determined policy against the Bohemian rebels.After a meeting with Klesl at his home, they invited him to the Hofburg, but Ferdinand ordered his arrest at the entrance of the palace on 20 July.