SAN FRANCISCO — Federal prosecutors on Monday told a judge that investigators have successfully accessed data stored on an iPhone used by one of the San Bernardino shooters.

The filing presumably brings to an end the legal showdown between the government and Apple Inc. over access to the work phone used by Sayed Rizwan Farook. An Apple spokesman didn’t immediately respond to an email seeking comment.