Court uses Law Enforcement Officers' Safety Act
UPDATE: remember that for folks who take duty seriously, it goes beyond legally-enforceable duty. There are also duties, not enforceable in any court, that arise from (1) you feel them (and will feel dishonored if you do not carry them out, to hell with any court) or (2) your peer group does (i.e., anyone who does not follow them will be ostracized).
While I'm on a roll, here is a great move. I heard about it decades ago, no idea if it still works. There are federal laws against "double dipping" -- serve with one agency long enough to draw a pension, retire, get pension, go with another agency and take salary, too. BUT at least back then, Secret Service pensions were drawn thru the DC police department (reimbursed to them by the Feds), and thus not covered. So any federal LEO could move into or out of Secret Service upon retirement without violating the rule about double-dipping. Under the ordinary Fed rules you could retire at 55 if you started while young, and LEOs got an earlier date since they ran risks beyond paper cuts or repetitive motion injury while typing, so it was possible to retire at an age when a person still had a decade or so of ability to work.
And, yes, every fed bureaucrat thinks about retirement, starting about five years after hiring.