'Heroes' actor cast in 'Rex' pilot

Sendhil Ramamurthy joins as regular; Jane Curtin also set

Here's a pilot casting that is sure to get fans of "Heroes" buzzing.

The show's co-star Sendhil Ramamurthy has joined NBC's comedic drama pilot "Rex Is Not Your Lawyer" as a regular.

Jane Curtin also has been cast in the pilot that stars David Tennant as Rex Alexander, a top Chicago litigator who begins suffering panic attacks and takes up coaching clients to represent themselves in court.

Ramamurthy will play an ambitious but good-natured lawyer who was in Rex's shadow until Rex's career switch and whose friendship with Rex becomes complicated when he falls in love with his pal's fiancee (Abigail Spencer).

For Ramamurthy, the casting is in second position to "Heroes." But, given that both shows are at the same network and are produced by the same studio, UMS, it's safe to assume that Ramamurthy would be free to do "Rex" should the pilot go to series for next season. (Note Elizabeth Mitchell's casting as a "guest star" as the lead in the pilot for ABC's "V" last season while still on the network's "Lost.")

Ramamurthy's character on "Heroes," Mohinder Suresh, was key in the series' first couple of seasons, but his importance has gradually been scaled down. He has appeared in three episodes so far this season.

Although his role on "Heroes" is dramatic, Ramamurthy recently showed off his lighter side in an episode of USA's "Psych."

As for Emmy-winning comedy veteran Curtin, she will play Rex's mother and mentor, a successful law professor who falls in love with Rex's shrink (Jeffrey Tambor).

David Semel is directing the pilot from a script by Andrew Leeds and David Lampson. Showrunner Barry Schindel, Semel, Gail Berman, Lloyd Braun and Gene Stein are exec producing, with Leeds and Lampson serving as supervising producers.