How old was Prince Charles when he got married?

he was 31 when married to Princess Diana