Original: Death David II died unexpectedly and at the height of his power in Edinburgh Castle on 22 February 1371 .
Simplified: In 1371 David died in Edinburgh Castle .