Patrick held the office of Sheriff of Berwick on 15 June 1480. He was invested as a Knight before February 1481. He succeeded to the title of 2nd Lord Hailes circa 1483. On 20 September 1484 he was a conservator of a truce with England. He held the office of Master of the Household in 1488. He held the office of Keeper of the Castle of Edinburgh in 1488. He fought in the Battle of Sauchieburn on 11 June 1488, where he led the vanguard against King James III of Scotland. He held the office of Sheriff Principal of Edinburgh on 26 June 1488. He held the office of High Admiral [Scotland] on 10 September 1488. He was created 1st Earl of Bothwell [Scotland] on 17 October 1488, granted to him by the new King James IV following Hepburn's prominent part in the victory of Sauchieburn over King James III. He held the office of Steward of Kirkcudbright on 5 November 1488. He held the office of Warden of the West and Middle Marches on 14 July 1489. On 6 March 1492 he received, in exchange for the Lordship of Bothwell, the great Lordship of Liddisdale with the Castle of Hermitage, from the family of Douglas, Earl of Angus. On 20 June 1493 his grants from the King were excepted from the general reversal of the King's grants made during his minority. He held the office of Captain of Dunbarton Castle on 1 April 1495. In October 1501 he was one of the Embassy who concluded the marriage of Kings James IV of Scotland to Margaret, daughter of King Henry VII.
http://www.thepeerage.com/