The main objectives of this article are to use ChatGPT to create theoretical contents, exercises, and practical activities in the field of teaching Early Modern History in secondary education, and to evaluate the quality of its contributions. In the introduction, the context and relevance of the topic are presented, as well as a brief review of the existing literature on the application of artificial intelligence to teaching and learning processes. The methodology details the pedagogical approach of the work and the role of ChatGPT in its development. The results show the theoretical and practical contents generated. The conclusions summarize the main findings of the work and the contributions that artificial intelligence can make to the field of Early Modern History teaching, highlight the potential for adapting the use of the chatbot to other contexts and historical topics, reflect on the advantages and limitations of the use of ChatGPT in education, and offer suggestions for future research and development in this field.