Jason Priestley has been hospitalized after taking a nasty fall off a horse, TMZ reports.

Priestley suffered a concussion after being thrown from a horse on the set of The Code on Monday. He stayed in the hospital overnight, but assures fans that he's doing okay.

The Code is a Canadian procedural starring Priestley as Matt Shade, a former hockey player who uses his fame in his new career as a private investigator. It's expected to premiere in 2016.