It can come as something of a shock when beloved series characters make their finale exit.

But as actors make and negotiate new contracts, changes do come.

One such character to say farewell in recent months is Officer Sean Roman from “Chicago P.D.”

Brian Geraghty unsmiling

After just two seasons, actorBrian Geraghtyannounced he would be leaving the show.

Here’s what we know about his departure.

Geraghty joined the cast of “Chicago P.D.”

Brian Geraghty smiling

Brian Geraghty leaves “Chicago P.D.”

“One Chicago” creator Dick Wolfwas rooting for Brian Geraghty to play Officer Roman.

Speaking withTV Line, executive producer Matt Olmstead explained how it all went down.

“And we were crossing our fingers that we’d get him …

He was like, ‘I don’t know if I can commit to a seven-year contract.

But the deal was made.”

Geraghty left the show after two seasons to pursue other options, Olmstead toldThe Hollywood Reporter.

It sounds like everything worked out for the best.