He was a witness to the Battle of Prestonpans in 1745 where he was part of the government Edinburgh militia .
PRON AUX DET NOUN ADP DET PROPN ADP PROPN ADP NUM ADV PRON VERB NOUN ADP DET NOUN PROPN NOUN .