Morgan Freeman is set to join the cast of Universal and MRC’s “Ted 2.”

Plot details are being kept under wraps, but sources say Freeman would play an iconic civil rights lawyer who comes into the picture when Ted needs to resolve some legal issues.

Seth MacFarlane, who is back writing, directing and voicing the titular vulgar teddy bear, was said to be looking for high-profile actor to join the cast in a fun role and showed interest in Freeman from the start.

Currently filming in Boston, “Ted 2” stars Mark Wahlberg and the the majority of the original supporting cast. Actress Amanda Seyfried has also joined the R-rated comedy, and several pop culture and A-list cameos expected in the sequel.

SEE ALSO: Watch: First Look at Zac Efron’s ‘We Are Your Friends’

Co-written by Alex Sulkin and Wellesley Wild, “Ted 2” is produced by Scott Stuber with MRC co-financing the pic.

It hits theaters June 26, 2015.

The original “Ted,” co-starring Mila Kunis, grossed a whopping $549 million worldwide including $218 million at the domestic box office.

Freeman, who is repped by CAA, was most recently seen in Universal’s “Lucy” and can be seen in “Dolphin Tale 2.”