State pension plans, particularly those for public employees like teachers, firefighters, and government workers, are subject to various federal regulations, including IRS rules and other federal laws, to ensure compliance with tax, nondiscrimination, and retirement benefit standards. These rules apply because state pensions often receive tax advantages (e.g., tax-deferred contributions) and may opt out of Social Security; therefore, they must align with federal standards to maintain their tax-qualified status or avoid penalties. Below are detailed examples of how state pensions fall under IRS rules and other federal regulations, with a focus on key provisions and their implications.