Legislation can play a crucial role in ensuring safe nurse-to-patient ratios. Some states have enacted laws that mandate minimum staffing levels, while others leave it to the discretion of healthcare facilities. Advocacy by professional organizations, such as the American Nurses Association (ANA), is often essential in pushing for legislative changes that protect both nurses and patients.