Saved by the Bell star Sarah Lancaster is set to star opposite Robert Downey Jr. in The Judge.

The 33-year-old actress has been cast in Warner Bros.' new show in the role of Downey's soon-to-be ex-wife, according to The Hollywood Reporter.

The film centres on a high-powered attorney (Downey) who returns to his hometown for his mother's funeral only to discover that his father, who is the town's federal judge, is suspected of her murder.

Lancaster featured in TV action comedy Chuck for five years, while her previous credits include minor roles in Dawson’s Creek, Scrubs and Catch Me If You Can.

Downey recently starred in Iron Man 3, which has become the highest grossing film of the summer, taking $1.2 billion worldwide.