Robert R. Card, 40, a U.S. Army reservist, sprayed the bowling alley and bar with gunfire in the rural Maine town. He took his own life inside a cargo trailer parked on the lot of a recycling plant where he once worked.

"The President and First Lady will pay respects to the victims of this horrific attack and grieve with families and community members, as well as meet with first responders, nurses, and others on the front lines of the response," the White House said.

(Reporting by Jasper Ward in Washington and Jarrett Renshaw in Philadelphia; Editing by Dan Whitcomb and Matthew Lewis)