A Mexican pilot lost his job after letting 23-year-old Mexican singer and actress Esmeralda Ugalde and her 19-year-old actress buddy Samadhi Zendejas sit in the cockpit on a flight between Cancun and Mexico City.

Ugalde, famous for TV Azteca's "Siempre tuya Acapulco" and for being the sister of the Latin Grammy Award winner Ana Barbara, posted pictures of herself and Zendejas posing in the pilot's cabin and even wearing the pilot's hat on her Twitter account, which has more than 40,000 followers.

When the images went viral, the pilot was fired as soon as he was identified. Ugalde has since deleted the images from her Twitter account, but they have been posted by others on the social media site. 

Zendejas, whose acting credits include "Mujeres Asesinas," made an effort to defend the captain's actions by saying the entertainers had only been in the cabin when the plane was on the ground, but by the time she said that, the unnamed pilot had spilled the beans and admitted the starlets had been in his cabin during the flight.

According to The New York Daily News, Jorge Badia, spokesman for Magnicharters, an airline that operates domestic holiday flights out of Mexico City International Airport, said, "We cannot allow a pilot to make this kind of mistake, it is just not allowed. Even if the autopilot was working it is not allowed to do something like this. We cannot even allow people to enter the cabin, even if they are actors or actresses.

”We are a serious company,” Badia said. “We are deeply saddened about the fact that one of our staff behaved in this way. Flight law dictates visitors are not allowed to enter the cabin during the flight."