Roman Catholicism was the sole established religion in the Holy Roman Empire until the Reformation changed this drastically. During what years was the thirty year war