In that year the Treaty of the Pyrenees was signed signifying a major shift in power, France had replaced Spain as the dominant state in Europe. The treaty called for an arranged marriage between Louis and his cousin Maria Theresa, a daughter of King Philip IV of Spain by his first wife Elisabeth, the sister of Louis XIII. They were married in 1660 and had a son, Louis, in 1661. Mazarin died on 9 March 1661 and it was expected that Louis would appoint another chief minister, as had become the tradition, but instead he shocked the country by announcing he would rule alone.