Who did John marry Joan to?