Фридрих Вильгельм II
When he counterattacked the Revolutionary French who had invaded Germany, in 1793, he recaptured Mainz after a long siege, but resigned in 1794 in protest at interference by Frederick William II of Prussia.