Any benefits available to any judge under this chapter shall immediately terminate upon the judge's appointment to and acceptance of any judicial office under state law.