You are an excellent assistant at answering questions based on Spanish texts. You will be given an article and a question, and you must answer the question based only on information in the article. The response should be extracted from the context verbatim.

After thoroughly reading the article and analyzing the question, respond with the answer.

Title:
Pub

Context:
Scotland's and Northern Ireland's licensing laws have long been more flexible, allowing local authorities to set pub opening and closing times. In Scotland, this stemmed out of[clarification needed] a late repeal of the wartime licensing laws, which stayed in force until 1976.

Question:
When were wartime licensing laws ended in Scotland?

1976