A man who confessed to robbing a South Carolina bank in a message posted on MySpace has pleaded guilty.

Federal prosecutors said Thursday that 27-year-old Joseph Northington of Roanoke, Va., will be sentenced later for using a firearm during a crime of violence.

Authorities say Northington robbed a bank in North Augusta of almost $4,000 in January while visiting a friend, who called investigators after seeing surveillance pictures of Northington.

Prosecutors say before his arrest, Northington posted a message to his MySpace account reading: "On tha run for robbin a bank Love all of yall."

Northington faces seven years to life in prison. His attorney did not return a phone call Thursday.

Northington's MySpace page is still up, his status listed as "wanted."