Task: Text Categorization
Input (English): Text:  William Gilbert Weir (July 1 1896 – December 12 1971) was a Canadian politician and was the longest serving Liberal-Progressive Member of Parliament in Canadian history sitting in the Canadian House of Commons for 27 years. Born in Port Perry Ontario Weir was a farmer by occupation. He was first elected to the Canadian House of Commons representing the riding of Macdonald Manitoba defeating his sole rival by 499 votes Conservative candidate John Woods in the 1930 federal election.
Output (English): 5