sentences:  In the same year the town sold its customs rights – which ran from Groomsport, County Down, up to Larne, County Antrim, to Belfast.This in part led to its decline in importance as the province of Ulster grew.Nevertheless, the decaying castle withstood several days of siege by the forces of William of Orange in 1689, before surrendering on 28 August.