Craig Robinson pleaded guilty to drug possession and paid a fine in the Bahamas on Wednesday, Oct. 9.
According to the Associated Press, the comedian was stopped in Nassau at the airport. The Office actor was in town for a comedy show and was coming back to the United States.
Custom agents found a small amount of marijuana and 18 ecstasy pills that were "deemed suspicious," Supt. Stephen Dean of the Royal Bahamas Police Force told the AP.
"It was nothing major," Dean added.
The 41-year-old was fined $1,000 and ordered to leave the country after he pleaded guilty to two counts of drug possession. Robinson said before a judge that he did not know the drugs were illegal in Bahamas and he brought them from the U.S. He could have faced up to four years in prison.
This is not Robinson's first run-in with authorities. The actor was charged with two counts of possession of a controlled substance and one count of being under the influence of a controlled substance in June 2008.