The Peace Party, however, had its own armed forces – scattered bands of household troops ("Hofleute") under diverse command, which only united in action in 1565 (Battle of Pärnu and Siege of Reval), in 1570–1571 (Siege of Reval; 30 weeks), and in 1574–1576 (first on Sweden's side, then came the sale of Ösel–Wiek to the Danish Crown, and the loss of territory to Tsardom of Russia). In 1575, after Muscovy attacked Danish claims in Livonia, Frederick II dropped out of the competition, as did the Holy Roman Emperor. After this Johan III held off on his pursuit for more land due to Muscovy obtaining lands that Sweden controlled. He used the next two years of truce to get in a better position. In 1578 he resumed the fight, not only for Livonia, but also for everywhere due to an understanding he made with the Rzeczpospolita. In 1578 Magnus retired to the Rzeczpospolita and his brother all but gave up the land in Livonia.