Given the task definition and input, reply with output. In this task, you're given a passage, further information available on a particular linked term from the statement, and an answer term. Your job is to generate a question that can use the information provided to obtain the given answer. You should use the information on both passage and link information to create the question. Note that the answer to the question should be exactly the given answer, and if the answer is none, the answer to the question shouldn't be obtainable from the passage or linked information.

Passage: In 1860, he ran for Canal Commissioner on the Douglas Democratic ticket, but was defeated by Republican Samuel H. Barnes. Barnes died a week after the election, and the vacancy was filled temporarily by the New York State Legislature in January 1861. Wright was the Democratic candidate, but was defeated by Republican Benjamin F. Bruce. In November 1861 he ran again, for the remaining two years of Barnes's term, and this time was elected defeating Bruce and War Democrat Frederick A. Tallmadge. He was in office from 1862 to 1863. In 1863, he ran for re-election, but was this time was defeated again by Bruce. In 1866, he ran again but was defeated by Republican Stephen T. Hayt. In 1869, he was elected again a Canal Commissioner, and was in office from 1870 to 1872.
Link Information: In 1863, he ran for re-election, but was this time was defeated again by Bruce Answer: 4
How many years did Benjamin F. Bruce hold the office of Canal Commissioner?