Bold And The Beautiful star Linsey Godfrey was rushed to hospital with two broken legs after being hit by a car on Monday. 

The actress was on a sidewalk in Los Angeles when a car left the road and hit her, pinning her beneath the wreckage.

According to TMZ the 26-year-old underwent surgery on her injuries.

Scroll down for video 

In surgery: Bold And The Beautiful star Linsey Godfrey was rushed to hospital with two broken legs after being hit by a car on Monday

Crash: The actress was on a sidewalk in Los Angeles when a car left the road and hit her, pinning her beneath the wreckage

The accident happened at 2.30pm when a BMW sedan left the road after a collision with another vehicle.

Godfrey was pulled free of the wreckage by passers by, who summoned an ambulance.

Scene shots showed the car raised on top of a crushed bus stop bench.

Horror: The accident happened at 2.30pm when a BMW sedan left the road after a collision with another vehicle

Damage: Godfrey was pulled free of the wreckage by passers by, who summoned an ambulance

Neither driver was arrested.

Earlier in the day Linsey, who has a eight-month-old baby daughter, had tweeted about getting her nails done, thanking her manicurist. 

The actress, who plays Caroline Spencer on the long-running soap The Bold And The Beautiful, is a cancer survivor, having being diagnosed with lymphoma when she was just 18, and undergoing a dozen grueling rounds of chemotherapy.

Out and about: Hours before the accident, Linsey tweeted this snap of her new manicure

Young mother: Linsey while pregnant last year with her fiancé Robert Adamson; the two have an eight-month-old daughter

Linsey's friends rushed to show their support for the injured star.

The Young And The Restless' Kelly Kruger tweeted: 'Hey everyone. @linseygodfrey is going to be okay. She is strongest person I know & has all the Drs laughing w her usual hysterical self.'

Her former The Bold And The Beautiful co-star Scott Clifton was equally reassuring, writing: 'Not my place to pass along medical details, but she's going to be okay. Throughout the trauma, she has remained fabulous.'

Doting mother: Earlier this month Linsey shared a snap of her daughter, writing 'Aleda loves the swing!'

Katherine Kelly Lang, who plays Brooke Logan on the show, added: 'Sending good thoughts and prayers and healing energy to @linseygodfrey !! I hope surgery goes well & hope to see u back at work very soon.'

Jacob Young, who plays Rick Forrester, agreed, writing: 'please send prayers to @linseygodfrey she is strong and a fighter, but all good thoughts/ prayers will help!'

In character: The 26-year-old plays Caroline Spencer on the long-running soap The Bold And The Beautiful