NBC has canceled “The Night Shift.” The medical drama’s fourth season, which had its finale Aug. 31, will be its last.

“We want to thank our amazing creators and executive producers, Gabe Sachs and Jeff Judah, for their dedication and stellar work; a cast and crew that were second to none; and the city of Albuquerque, N.M., which graciously opened its arms to us,” said Jennifer Salke, president, NBC Entertainment.

“For four seasons ‘The Night Shift’ gave audiences a window to heroic doctors, nurses and all-star medical workers who never hesitated to give their blood, sweat and time to help those most in need.”

“The Night Shift,” which was created and executive produced by Sachs and Judah, was a medical drama that follows the doctors, nurses and the medical staff at San Antonio Memorial Hospital. The cast included Eoin Macken, Jill Flint, Brendan Fehr, Robert Bailey Jr., JR Lemon, Tanaya Beatty and Scott Wolf.