Cardinal deacons have long enjoyed the right to "opt for the order of cardinal priests" (optazione) after they have been cardinal deacons for 10 years.
How many years before a cardinal deacon can choose the order of the cardinal priests?
10 years