Roman Catholicism
In 1685 the 4th Earl of Perth converted to Roman Catholicism, along with his brother, the 1st Earl of Melfort, which brought him into high favour with King James VII and II. In 1686, Perth and his brother opened a Catholic chapel in Edinburgh, and their public attendance there resulted in a riot. Perth and his brother suggested to James II that the Scottish Parliament would approve a repeal of the Test Act and penal laws against Catholics and Protestant dissenters, but this was later proved untrue. On 29 May 1687, nonetheless, he was made a Knight of the Thistle, being one of the eight original knights of that Order.
He is said to have had a novodamus, 17 December 1687, (on resignation) of his dignities, creating him Earl of Perth, Lord Drummond, Stobhall, and Montefex (Scotland), with remainder, failing heirs-male of his and of his brother's body, to the heirs-male of the second Earl. The records of Perth council refer to Catholic worship at Stobhall in the 1680s, and in 1700 Drummond Castle became a centre of Catholic worship in Perthshire.
When James retreated from Salisbury before William of Orange, the people of Edinburgh, in the absence of the troops whom Perth had disbanded, rose against him. Perth departed on 8 December under a strong escort to his seat of Drummond Castle, Perthshire. Finding himself unsafe there, he fled in disguise over the Ochil Hills to Burntisland, where he gained a vessel about to sail to France. He had, however, been recognised, and a boatful of watermen from Kirkcaldy pursued the vessel, which, as it was almost a dead calm, was overtaken at the mouth of the Forth. Perth was dragged from the hold in woman's clothes, stripped of all he had, and thrown into the common prison of Kirkcaldy. Thence he was taken to Stirling Castle, and not released until 4 August 1693 on condition of a bond to leave the kingdom under penalty of £5000.