However, in 1072, Krešimir assisted the Bulgarian and Serb uprising against their Byzantine masters. The Byzantines retaliated in 1074 by sending the Norman count Amico of Giovinazzo to besiege Rab. They failed to capture the island, but did manage to capture the king himself, and the Croatians were then forced to settle and give away Split, Trogir, Zadar, Biograd, and Nin to the Normans. In 1075, Venice expelled the Normans and secured the cities for itself. The end of Krešimir IV in 1074 also marked the "de facto" end of the Trpimirović dynasty, which had ruled the Croatian lands for over two centuries.