Following the German airliner's crash in France by a suicidal pilot last week, Mexican officials announced Monday that all airlines will now be required to have two authorized crew members in the cockpit at all times.

Civil Aviation Director Gilberto Lopez Meyer said that the new measure requires two trained personnel to remain in the cockpit at any time. As a result, if and when a pilot needs to leave the cockpit, another crew member must enter the cockpit and help open the door upon the pilot's return.

"When one of the pilots must leave the cockpit, the pilot in charge will require a chief flight attendant to enter the cockpit and thus guarantee at all times that the door can be opened to allow entry," Meyer, who heads Mexico's DGAC civil aeronautics agency, said at a press conference, according to EFE.

Meyer added that the new rule will be enforced in aircraft cockpits that use armored doors and on passenger airlines on both domestic and international flights. He also said that flight attendants will undergo training to ensure that they can carry out this duty. 

In addition, the automatic pilot must remain activated and oxygen masks will be prepared for use in the cabin in conjunction with the new measure.

The announcement comes in wake of a Germanwings copilot who, after being temporarily left alone in the cockpit, deliberately locked the captain, Patrick Sondheimer, out and then crashed the plane in the French Alps on Tuesday, March 24. All 150 people died on board as the plane was en route from Barcelona to Düsseldorf, Germany, reports The Associated Press.

Officials identified the copilot as Andreas Lubitz and revealed that he was suffering from severe depression.

Other airlines and governments in several different countries, especially nations in the European Union, have also reassessed their security measures following the crash.