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
PHOTO: CNN
Now playing
01:26
Sen. Joe Manchin explains why he wanted changes to relief bill
WASHINGTON, DC - MARCH 06: President Joe Biden speaks from the State Dining Room following the passage of the American Rescue Plan in the U.S. Senate at the White House on March 6, 2021 in Washington, DC. The Senate passed the latest COVID-19 relief bill by 50 to 49 on a party-line vote, after an all-night session. (Photo by Samuel Corum/Getty Images)
PHOTO: Samuel Corum/Getty Images
WASHINGTON, DC - MARCH 06: President Joe Biden speaks from the State Dining Room following the passage of the American Rescue Plan in the U.S. Senate at the White House on March 6, 2021 in Washington, DC. The Senate passed the latest COVID-19 relief bill by 50 to 49 on a party-line vote, after an all-night session. (Photo by Samuel Corum/Getty Images)
Now playing
01:36
Biden spokesperson: President doesn't want to end the filibuster
Now playing
02:29
MS gov. encourages residents to wear masks despite dropping mandate
Now playing
02:18
Town previously overrun by ISIS prepares to host Pope Francis
Biden 03062021
PHOTO: CNN
Biden 03062021
Now playing
02:28
'Help is on the way': Biden speaks after Senate passes relief plan
Sen. Lisa Murkowski (R-AK) asks a question at a hearing of the Senate Health, Education, Labor and Pensions Committee on September 23, 2020 in Washington, DC.
PHOTO: Alex Edelman/Pool/Getty Images
Sen. Lisa Murkowski (R-AK) asks a question at a hearing of the Senate Health, Education, Labor and Pensions Committee on September 23, 2020 in Washington, DC.
Now playing
01:40
Trump plans to campaign against Sen. Murkowski in 2022
01 senate stimulus bill 210306
PHOTO: Senate TV
01 senate stimulus bill 210306
Now playing
01:47
Senate passes Biden's $1.9 trillion Covid-19 relief bill
Pope Francis meets with Iraq's leading Shiite cleric, Grand Ayatollah Ali al-Sistani in Najaf, Iraq, Saturday, March 6, 2021. The closed-door meeting was expected to touch on issues plaguing Iraq's Christian minority. Al-Sistani is a deeply revered figure in Shiite-majority Iraq and and his opinions on religious matters are sought by Shiites worldwide.
PHOTO: Vatican Media/AP
Pope Francis meets with Iraq's leading Shiite cleric, Grand Ayatollah Ali al-Sistani in Najaf, Iraq, Saturday, March 6, 2021. The closed-door meeting was expected to touch on issues plaguing Iraq's Christian minority. Al-Sistani is a deeply revered figure in Shiite-majority Iraq and and his opinions on religious matters are sought by Shiites worldwide.
Now playing
01:42
Pope Francis holds historic meeting with revered Shia cleric
WASHINGTON, DC - MARCH 05: Sen. John Cornyn (R) (R-TX) talks with Sen. Joe Manchin (D-WV) while walking to the U.S. Senate chamber for a vote March 05, 2021 in Washington, DC. The Senate continues to debate the latest COVID-19 relief bill.  (Photo by Win McNamee/Getty Images)
PHOTO: Win McNamee/Getty Images
WASHINGTON, DC - MARCH 05: Sen. John Cornyn (R) (R-TX) talks with Sen. Joe Manchin (D-WV) while walking to the U.S. Senate chamber for a vote March 05, 2021 in Washington, DC. The Senate continues to debate the latest COVID-19 relief bill. (Photo by Win McNamee/Getty Images)
Now playing
02:54
Axelrod breaks down Manchin's surprising move
sinema
PHOTO: CNN
sinema
Now playing
01:50
Senator's move has many on the internet outraged
PHOTO: FBI
Now playing
02:58
Trump State Department official charged in Capitol riot
John King Magic Wall 0305
PHOTO: CNN
John King Magic Wall 0305
Now playing
02:17
President Biden sending a team to the US-Mexico border
PHOTO: CNN
Now playing
02:53
Here's how Canadian schools have stayed open
This image was taken during the first drive of NASA's Perseverance rover on Mars on March 4, 2021. The team has spent the weeks since landing checking out the rover to prepare for surface operations.
PHOTO: JPL-Caltech/NASA
This image was taken during the first drive of NASA's Perseverance rover on Mars on March 4, 2021. The team has spent the weeks since landing checking out the rover to prepare for surface operations.
Now playing
02:17
NASA releases stunning new images from Mars
Rep john garamendi 0305
PHOTO: CNN
Rep john garamendi 0305
Now playing
02:33
Rep. Garamendi: Any lawmaker involved in Capitol riots ought to be thrown out of Congress
A view of Capitol Hill during heightened security concerns over possible protests or violence tomorrow March 3, 2021, in Washington, DC. - Washington's security posture has been bolstered after threats of a possible March 4, 2021, "breach" of the US Capitol, with the House of Representatives changing its voting plans to avoid gathering members on a day of potential unrest. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
PHOTO: Brendan Smialowski/AFP/Getty Images
A view of Capitol Hill during heightened security concerns over possible protests or violence tomorrow March 3, 2021, in Washington, DC. - Washington's security posture has been bolstered after threats of a possible March 4, 2021, "breach" of the US Capitol, with the House of Representatives changing its voting plans to avoid gathering members on a day of potential unrest. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
Now playing
03:18
Rep. Sarbanes: Failure to pass HR 1 'would split our democracy in two'
(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.