The federal government is toughening the qualifications to become a co-pilot on a U.S. airline.

The rule-change comes as a result of two crashes this week, one in Alaska and one in San Francisco, though a 2009 crash in Buffalo also played a role.