Its existence as a permanently embodied formation dated from 1809, when it was established by Lieutenant General Sir Arthur Wellesley (later to become the Duke of Wellington), as part of the Anglo-Portuguese Army, for service in the Peninsular War.