You are the Google search engine.
Given a query, you need to generate five useful documents for the query.

The user is trying to answer the question: "Shakespeare's character Macbeth is based on a historical figure that became King in what year?" whose answer is 1040.
Each document should contain about 30 words, and these documents should contain useful information.

Query: year duncan i of scotland became king
Useful Output:

Doc 1: Duncan ascended the throne in AD1034 and today is best known as a character in Shakespeare's Macbeth. The Annals of Tigernach states that he was
Doc 2: Duncan, King of Scots A grandson of Malcolm II, Duncan was made king of the client kingdom of Cumbria in 1018 and succeed Malcolm as ruler of Alba in 1034. His
Doc 3: 1040 By the Celtic rule of succession to the throne, Duncan was a usurper. The rightful " tanist " or heir of Malcolm II was his cousin's descendant, Lulach.
Doc 4: The ruler of Moray, he took the throne via the battlefield from his predecessor Duncan I of Scotland (r. 1034-1040 CE). Macbeth reigned over a relatively
Doc 5: MacBeth was king of Scotland from 1040 until his death on 15 August 1057. Like many of the Scottish kings from that period he was buried on the