A man accused of being in violation of U.S. immigration and gun laws when he allegedly fatally shot a 16-year-old boy last week on the teen's birthday appeared before a Baton Rouge federal magistrate Monday and will remain detained until his next court date at the end of the month.

U.S. Magistrate Judge Erin Wilder-Doomes presided over Octavio Bringas-Posadas' initial appearance and scheduled a preliminary hearing for March 31. 

The 49-year-old Bringas-Posadas, who has been booked by the East Baton Rouge Parish Sheriff's Office on a count of second-degree murder in the March 13 killing of Darius Plummer, was charged Thursday in a federal criminal complaint with illegally re-entering the United States following a 2012 deportation and illegally possessing a firearm.

Wilder-Doomes appointed Assistant Federal Public Defender Mark Upton to represent Bringas-Posadas, who appeared Monday morning in the magistrate's courtroom with a translator.

Bringas-Posadas exercised his right to have the Mexican Consulate notified of the criminal complaint after it was read to him in court.

Assistant U.S. Attorney Kevin Sanchez told Wilder-Doomes that Bringas-Posadas has a federal immigration detainer preventing his release, as well as a state detainer related to the pending state case.

Bringas-Posadas stipulated to his detention.

Plummer had gone to Bringas-Posadas' Southpark Drive apartment off Airline Highway on his birthday to spend time with the man's son, his best friend. Bringas-Posadas told a relative he was playing with a gun when it accidentally went off, striking Plummer, according to an arrest warrant.

Bringas-Posadas was deported to Mexico in 2012 after a drug arrest. He fled the Baton Rouge area following last week's shooting and was later arrested in Lake Charles, authorities said.

Follow Joe Gyan Jr. on Twitter, @JoeGyanJr.