Langham was called to the bar in the year he entered Parliament. He appeared in the list of counsel for several years afterwards. He was returned on Lord Eliot’s interest as a friend of Addington’s administration and was named for the court of East India judicature on behalf of the House.
When his leader took office in 1806, Langham spoke in favour of Windham’s defence proposals, 3 Apr., and on 30 Apr. voted with the government majority for the repeal of the Additional Force Act. He successfully opposed the election treating bill, 9 June. His seat was no longer available after the dissolution and Langham was not again in Parliament. His brother Sir William, who unsuccessfully contested Northamptonshire (which their father had represented) in 1806 and aspired to a peerage, died in 1812 and his son and heir four days later, so James succeeded to the baronetcy. His name was mentioned as a candidate for the county in 1814, but according to Lord Althorp writing to his father, 31 Mar. 1815, about the borough of Northampton:
I think it ... doubtful whether Sir James Langham would like to stand and I am sure he would be a very unpopular candidate. He is quite out of the question as to the county, his having refused to be steward at the races next year is quite decisive.
Spencer mss.
The decision was said to have disappointed many,
