A Marine's Facebook posting has landed him in federal court, where he is charged with making a threatening statement that references the recent mass shooting at the Washington Navy Yard.

According to a criminal complaint filed in U.S. District Court today, Moses Castro, a corporal in the U.S. Marine Corps, posted this statement on Facebook on Friday: "going to pull Washington (sic) Navy Yard on my people if they don't stop (expletive). Walk up and beeach (sic) (expletive)."

According to the complaint, Castro is currently assigned to the Selfridge Air National Guard Base in Harrison Township. The day after the post appeared on Facebook, Castro was interviewed by security officials at the base and told them that he could not recall writing the post "because he had been extremely intoxicated the night before."

"Castro did state that when he woke up the next morning, he saw the post and immediately deleted it," FBI agent William Fleming wrote in his affidavit.

On Monday, at the order of the Marine Corps, Castro underwent a psychological evaluation at an area medical facility, the complaint said.

Meanwhile, authorities ran a background check on Castro and discovered the corporal had several past run-ins with the law.

In 2006, Castro was arrested in Dallas and charged with aggravated assault with a deadly weapon. The case was "released without prosecution."

In 2007, Castro was arrested in Mountain View College, Texas, and charged with possession of marijuana while driving intoxicated. The disposition of that case is not known, according to records.

In February, Castro was disciplined by the Marine Corps for assaultive behavior toward trainees, the complaint said. Castro was demoted and transferred to the Selfridge Air National Guard Base. The complaint did not say where he transferred from.

The FBI believes that because Castro is an active military member with access to a base, he has access to weapons that would allow him to carry out threats, according to the complaint.

The complaint did not say whether or not Castro is in custody.

He could not be located for comment.