A Delta Airlines airplane takes off from Atlanta International Airport, Georgia on June 10, 2019. (Photo by Daniel SLIM / AFP)        (Photo credit should read DANIEL SLIM/AFP/Getty Images)
PHOTO: Daniel Slim/AFP/Getty Images
A Delta Airlines airplane takes off from Atlanta International Airport, Georgia on June 10, 2019. (Photo by Daniel SLIM / AFP) (Photo credit should read DANIEL SLIM/AFP/Getty Images)
Now playing
00:10
This video is no longer available
Misinformation Trump Capitol March rn orig_00004630.png
Misinformation Trump Capitol March rn orig_00004630.png
Now playing
04:08
These Trump supporters are convinced he will be president again on March 4
AURORA, CO - DECEMBER 15: (EDITORIAL USE ONLY) Rocky Mountain Regional VA Medical Center investigational pharmacy technician Sara Berech holds a dose of the Johnson & Johnson COVID-19 vaccine before it is administered in a clinical trial on December 15, 2020 in Aurora, Colorado. The Johnson & Johnson vaccine could be submitted for emergency use by late January and is the only vaccine among leading candidates given as a single dose. (Photo by Michael Ciaglo/Getty Images)
PHOTO: Michael Ciaglo/Getty Images
AURORA, CO - DECEMBER 15: (EDITORIAL USE ONLY) Rocky Mountain Regional VA Medical Center investigational pharmacy technician Sara Berech holds a dose of the Johnson & Johnson COVID-19 vaccine before it is administered in a clinical trial on December 15, 2020 in Aurora, Colorado. The Johnson & Johnson vaccine could be submitted for emergency use by late January and is the only vaccine among leading candidates given as a single dose. (Photo by Michael Ciaglo/Getty Images)
Now playing
03:19
Doctor who voted to approve Johnson and Johhnson vaccine speaks out
Saudi Crown Prince Mohammed bin Salman attends a conference in the Saudi capital Riyadh on October 2018.
PHOTO: FAYEZ NURELDINE/AFP/Getty Images
Saudi Crown Prince Mohammed bin Salman attends a conference in the Saudi capital Riyadh on October 2018.
Now playing
02:10
US intel report: Saudi Crown Prince responsible for approving Khashoggi operation
PHOTO: CNN
Now playing
02:24
Acosta corrects CPAC organizer: Trump did lose the election
WASHINGTON, DC - JANUARY 17: The U.S. Capitol dome is seen beyond a security fence on January 17, 2021 in Washington, DC. After last week
PHOTO: Michael M. Santiago/Getty Images
WASHINGTON, DC - JANUARY 17: The U.S. Capitol dome is seen beyond a security fence on January 17, 2021 in Washington, DC. After last week's riots at the U.S. Capitol Building, the FBI has warned of additional threats in the nation's capital and in all 50 states. According to reports, as many as 25,000 National Guard soldiers will be guarding the city as preparations are made for the inauguration of Joe Biden as the 46th U.S. President. (Photo by Michael M. Santiago/Getty Images)
Now playing
02:33
This is what's in the $1.9 trillion coronavirus package
PHOTO: CNN
Now playing
09:36
I lost everything: Texas mom's devastating story from winter storm
Now playing
01:23
See what happened when CPAC organizers asked crowd to wear masks
The Pentagon, the headquarters of the US Department of Defense, located in Arlington County, across the Potomac River from Washington, DC is seen from the air January 24, 2017.  / AFP PHOTO / Daniel SLIM        (Photo credit should read DANIEL SLIM/AFP via Getty Images)
PHOTO: Daniel Slim/Getty Images
The Pentagon, the headquarters of the US Department of Defense, located in Arlington County, across the Potomac River from Washington, DC is seen from the air January 24, 2017. / AFP PHOTO / Daniel SLIM (Photo credit should read DANIEL SLIM/AFP via Getty Images)
Now playing
05:24
US carries out airstrikes on Iran-backed militia groups
A woman walks past mailboxes  seen outside of a US Post Office in Washington, DC on August 17, 2020. - The United States Postal Service is popularly known for delivering mail despite snow, rain or heat, but it faces a new foe in President Donald Trump. Ahead of the November 3 elections in which millions of voters are expected to cast ballots by mail due to the coronavirus, Trump has leveled an unprecedented attack at the USPS, opposing efforts to give the cash-strapped agency more money as part of a big new virus-related stimulus package, even as changes there have caused delays in mail delivery. (Photo by MANDEL NGAN / AFP) (Photo by MANDEL NGAN/AFP via Getty Images)
PHOTO: Mandel Ngan/AFP/Getty Images
A woman walks past mailboxes seen outside of a US Post Office in Washington, DC on August 17, 2020. - The United States Postal Service is popularly known for delivering mail despite snow, rain or heat, but it faces a new foe in President Donald Trump. Ahead of the November 3 elections in which millions of voters are expected to cast ballots by mail due to the coronavirus, Trump has leveled an unprecedented attack at the USPS, opposing efforts to give the cash-strapped agency more money as part of a big new virus-related stimulus package, even as changes there have caused delays in mail delivery. (Photo by MANDEL NGAN / AFP) (Photo by MANDEL NGAN/AFP via Getty Images)
Now playing
02:49
Biden announces 3 nominees to USPS board
PHOTO: CNN
Now playing
02:00
Weekend hindered by rain in the East and snow in the Northwest
The exterior of the U.S. Capitol building is seen at sunrise on February 8, 2021 in Washington, DC. The Senate is scheduled to begin the second impeachment trial of former U.S. President Donald J. Trump on February 9.
PHOTO: Sarah Silbiger/Getty Images
The exterior of the U.S. Capitol building is seen at sunrise on February 8, 2021 in Washington, DC. The Senate is scheduled to begin the second impeachment trial of former U.S. President Donald J. Trump on February 9.
Now playing
01:57
Senate parliamentarian rules against minimum wage increase in relief bill
Now playing
03:56
Marjorie Taylor Greene's challenger explains decision to run
Everyone wears masks and desks are spaced at the high school, where full in-person teaching has been offered since the school year began.
PHOTO: CNN
Everyone wears masks and desks are spaced at the high school, where full in-person teaching has been offered since the school year began.
Now playing
03:20
Ohio school is staying open with these safety measures
PHOTO: CNN
Now playing
03:44
Acting US Capitol Police chief explains 'operational challenges' from January 6 riot
Rep. Marie Newman (D-IL) speaks with CNN
PHOTO: CNN
Rep. Marie Newman (D-IL) speaks with CNN's Alisyn Camerota.
Now playing
07:17
Lawmaker reacts to Rep. Taylor Greene's tweet on her transgender daughter
An activist wears a "Fight For $15" T-shirt during a news conference prior to a vote on the Raise the Wage Act July 18, 2019 at the U.S. Capitol in Washington, DC. The legislation would raise the federal minimum wage from $7.25 to $15 by 2025.  (Photo by Alex Wong/Getty Images)
PHOTO: Alex Wong/Getty Images
An activist wears a "Fight For $15" T-shirt during a news conference prior to a vote on the Raise the Wage Act July 18, 2019 at the U.S. Capitol in Washington, DC. The legislation would raise the federal minimum wage from $7.25 to $15 by 2025. (Photo by Alex Wong/Getty Images)
Now playing
02:59
How to make sense of the minimum wage debate
(CNN) —  

Passengers were praying and trying to text family members in the moments before a Delta Air Lines flight made an emergency landing in North Carolina.

“After we heard the boom we just saw all this smoke come up into the cabin, and that’s when we really started freaking out,” passenger Avery Porch told CNN affiliate WMAR. “It started slowing down a little bit, it started getting hot (and) air cut off.”

Nearly 150 passengers on Delta Flight 1425 were headed from Atlanta to Baltimore on Monday when one of the aircraft’s engines had a problem, the airline said.

A video recorded by a passenger shows how a metal nose cone was bouncing inside the engine as the aircraft was in the air.

Passengers said they were more than an hour into the flight when the captain told them they were planning an emergency landing.

“I just pulled out my phone and I knew I didn’t have service but I just texted my mom … I love you,” Porch’s boyfriend, Tyler Kreuger, told WMAR.

A passenger who spoke to CNN said she had fallen asleep soon after takeoff but was woken up by a loud bang, “like a rattling sound.”

“After, the cabin filled with smoke and seat belt signs went on and off, and you could smell something was burning. Everyone seemed confused. No one knew what was going on,” the passenger said. “Flight attendants were going around telling us how to prepare for landing. They kept everybody calm.”

The MD-88 aircraft landed safely about 2:20 p.m. at Raleigh-Durham International Airport, a spokesperson with the Federal Aviation Administration said.

“I’m so grateful for the crew and pilots for letting us land safely,” the passenger told CNN.

After the landing, passengers were booked on alternate flights to Baltimore. Delta said the aircraft’s engine has been replaced and the plane was expected to return to service Wednesday morning.

The airline’s maintenance team in Atlanta is expected to evaluate the damaged part.

CNN’s Maria Cartaya and Dave Alsup contributed to this report.