Sworn years, and the years that look like them
Special Risk is a position classification. Sworn years accrue at 3.00%. Years in a Regular Class position accrue at 1.60%: same agency, same badge on the wall.
A year at the lower rate can still count toward your Special Risk normal retirement date. That is a separate question from what it accrued at, and the answer is sometimes yes: on application, never automatically. See Pension Plan for how the Administrative Support Class works.
Worth pulling your own record before you assume either answer.
