according to legend , sir anton and thraxamis gave their lives single-handedly holding the attackers at bay in the central courtyard long enough for the small number of remaining knights to fortify the main gates from within .