COLLEGE PARK, Md. -- Police say a University of Maryland student shot two housemates, one fatally, in an off-campus residence and then killed himself.

The shooting happened at around 1 a.m. Tuesday in College Park in Prince George's County.

Police did not release the names of any of the students involved in the shooting, but all three were male.

Police say one of the men set a fire in the basement of the home early Tuesday, and when his housemates confronted him he shot them. The injured student is expected to survive.

Loading Slideshow...
  • Retired NASA astronaut and Navy Capt. Mark Kelly (R) and his wife, shooting victim and former U.S. Rep. Gabby Giffords (D-AZ) (C) arrive for a Jan. 30, 2013 Senate Judiciary Committee about gun control on Capitol Hill in Washington, D.C. (Photo by Chip Somodevilla/Getty Images)

  • Retired NASA astronaut and Navy Capt. Mark Kelly (R) and his wife, shooting victim and former U.S. Rep. Gabby Giffords (D-AZ) (C) arrive for a Jan. 30, 2013 Senate Judiciary Committee about gun control on Capitol Hill in Washington, D.C. (Photo by Mark Wilson/Getty Images)

  • Shooting victim and former U.S. Rep. Gabby Giffords (D-AZ) arrives for a Jan. 30, 2013 Senate Judiciary Committee hearing about gun control on Capitol Hill in Washington, D.C. (Photo by Mark Wilson/Getty Images)

  • Retired NASA astronaut and Navy Capt. Mark Kelly (R) and his wife, shooting victim and former U.S. Rep. Gabby Giffords (D-AZ) (2nd R) arrive for a Jan. 30, 2013 Senate Judiciary Committee about gun control on Capitol Hill in Washington, D.C. (Photo by Chip Somodevilla/Getty Images)

  • Retired NASA astronaut and Navy Capt. Mark Kelly (R) and his wife, shooting victim and former U.S. Rep. Gabby Giffords (D-AZ) prepares to give an opening statement before the Senate Judiciary Committee about gun control on Capitol Hill January 30, 2013 in Washington, D.C. (Photo by Mark Wilson/Getty Images)

  • Shooting victim and former U.S. Rep. Gabby Giffords (D-AZ) (L) and her husband Retired NASA astronaut and Navy Capt. Mark Kelly (2nd L) arrive for a Jan. 30, 2013 Senate Judiciary Committee hearing about gun control in Washington, D.C. (Photo by Chip Somodevilla/Getty Images)

  • Shooting victim and former U.S. Rep. Gabby Giffords (D-AZ) (C) speaks with members of the Senate Judiciary Committee before a Jan. 30, 2013 hearing about gun control on Capitol Hill in Washington, D.C. (Photo by Mark Wilson/Getty Images)

  • Shooting survivor and former congresswoman Gabrielle Giffords (D-AZ) (L) is seated next to her husband Captain Mark Kelly, USN (Ret.) during a Jan. 30, 2013 Senate Judiciary Committee hearing on gun violence in Washington, D.C. (Photo by Mark Wilson/Getty Images)

  • Shooting survivor and former congresswoman Gabrielle Giffords (D-AZ) (L) speaks during a Senate Judiciary Committee hearing on gun violence, January 30, 2013 in Washington, D.C. (Photo by Mark Wilson/Getty Images)