Given the task definition and input, reply with output. In this task, you are given a question. You have to answer the question based on your information.

The king who was responsible for the Act of the 18th was in power until what year, the same year he died?
1377