Nash was a dedicated Whig and was a friend of Charles James Fox through whom Nash probably came to the attention of the Prince Regent ( later King George IV ) .
Perhaps through Fox , Nash came to the attention of the Prince Regent ( later King George IV ) .