Original: Mary II then ruled jointly with her husband, William III.
Simplified: Mary II ruled together with her husband, William III.