Former Scrubs star Zach Braff and his model girlfriend Taylor Bagley have broken up after five years together.

The couple, who have been dating since 2009, split over a month ago, the actor's representative confirmed to

His rep said in a statement: "Zach and Taylor broke up over a month ago. They are continuing their friendship but are no longer a couple."

The break-up reportedly happened during preview performances of his new musical Bullets Over Broadway, according to Page Six.

The actor's rep said of the show: “Zach has been attached to the [show] and involved with its development for over two years. He chose to do it because it has been a lifelong dream of his to be a part of a Broadway musical.”