An aide to Democratic Sen. Barbara Boxer has been arrested on charges that he brought marijuana into a Senate office building.

The office of the California Democrat said Wednesday that 43-year-old Marcus Stanley has resigned as an economics adviser to Boxer.

A summary report provided by the U.S. Capitol Police alleges that an officer saw a man enter a Senate building on Tuesday and remove from his pocket a green leafy substance that later tested positive for the chemical compound in marijuana.

Capitol Police Sgt. Kimberly Schneider confirmed that police arrested Stanley.

A spokesman for Boxer says the senator accepted Stanley's resignation because his actions, in the spokesman's words, "were wrong and unacceptable."