Four teenage girls were rescued at a California amusement park Tuesday after a ride malfunctioned and left them stranded in the air.

The girls were riding a roller coaster at the Scandia Fun Center in North Highlands when the ride suddenly stopped, leaving them stuck about 65 feet above ground.

The Sacramento Metropolitan Fire District was called to assist after technicians failed to free the car electronically and manually.

SAN JOSÉ FIRE DEPARTMENT INVESTIGATING VIDEO OF BIKINI-CLAD WOMAN EXITING FIRE TRUCK OUTSIDE STRIP CLUB

Firemen with their gear spread out on the floor, getting ready to climb the aerial.

Firefighters gear up to rescue four teenage girls who were trapped 65 feet in the air on a roller coaster in North Highlands, California. (Metro Fire of Sacramento/Local News X/TMX)

Fireman on the top of the aerial assisting the trapped teenagers as the other firemen wait down below, look on.

Firefighters make their way up the aerial ladder to rescue the trapped teenagers in North Highlands, California. (Metro Fire of Sacramento/Local News X/TMX)

WALMART EMPLOYEE IN CHESAPEAKE, VIRGINIA KILLS 6 WITH PISTOL, POLICE SAY

Video shows a fire crew using an aerial ladder truck to reach the victims and secure the car from moving. The car restraints were manually disengaged and the four girls were assisted off the ride and down a ladder by first responders. 

It is unknown what caused the ride to stop moving.

The fire department said Tuesday that the entire incident lasted about an hour. 

Fireman assisting one of the teenagers that were trapped on the roller coaster, making their way down the aerial.

Firefighters and one of the formerly trapped teens walk down the aerial ladder after the teenager was stuck 65 feet in the air on a roller coaster in North Highlands, California. (Metro Fire of Sacramento/Local News X/TMX)

Firemen standing and waiting as another fireman assists a teenager down.

One of the teenage girls trapped on a roller coaster in North Highlands, California, makes her way down an aerial ladder. (Metro Fire of Sacramento/Local News X/TMX)

CLICK HERE TO GET THE FOX NEWS APP

"Metro Fire is a true All-Hazard & All-Risk agency. Our rescue crews have preplanned this facility, and other target hazards in our district, and we continually train for these types of incidents," the fire department said. 

The girls were not injured and they were given free treats and tickets to return to the park for what will hopefully be a more fun time.