macquarie resigned at the end of 1821 because of poor health and the difficulty of the job. he served longer than any other governor. when he left 265 major works had been completed, including new army barracks, three convict barracks, roads to parramatta, a road across the blue mountains, stables, a hospital and five towns along the hawkesbury river, which were out of reach of floodwaters.