this alliance concluded three centuries of croatian independence