A woman and her dog were rescued in California after spending the night locked inside a car that was stuck in a creek.

Officials said the 67-year-old woman drove off a winding highway and hit several trees before crashing into the creek.

The woman and her dog spent eight hours stuck in the back seat of the car while they waited for help.

Fortunately, a passer-by spotted the car and called police, who rescued the woman and her dog before the car was swept away by the water.