it resisted fiercely therefore the ottomans only managed to occupy the surrounding territories