richard , duke of york , had a better claim to the throne than henry vi ; as with all the nobility , richard had tried to be loyal for the sake of the realm , yet he was forced into confrontation and in the end he was killed by the queens faction .