NORFOLK, Va. (WVEC) -- A convicted sex offender on the run for three years from Norfolk police was captured last night by U.S. Marshals in San Francisco.

Daniel Arnold Nickerson, 59, was charged in September 2013 for two counts of sexual battery and one count of indecent liberties with a minor.

After receiving a bond on the charges in 2014, Nickerson failed to show for hearings related to these charges. Officers issued a warrant for his arrest, and it was believed he had gone on the run.

The investigation into his whereabouts received a boost when the Norfolk Crime Line received a tip earlier this year that Nickerson was possibly hiding amongst the homeless population in the San Francisco area.

After being contacted by the U.S. Marshals of Norfolk, the San Francisco office of the U.S. Marshals began investigating where Nickerson was located in the Bay area.

The investigation came to an end last night after he was found outside a homeless shelter in downtown San Francisco.

Nickerson was also wanted by the Virginia State Police for failure to register as a sex offender.

In 2005, Nickerson was convicted in Connecticut on charges of risk of injury to a minor child, for an offense that occurred in 1989.

Nickerson is being held at the San Francisco County Jail awaiting return to Virginia.