UNITED NEWS INTERNATIONAL (UNI) — The Pentagon is taking over security clearance checks for the U.S. federal government.

The Associated Press reported on June 1 that the Pentagon will be responsible for all background investigations for military and civilian employees and contractors over the next three years.

The AP reported that the White House will also give the Pentagon authority to carry out security checks for almost all government agencies.

Previously, the Office of Personnel Management was responsible for all background checks for federal employees.

Using increased automation and high-tech analysis, the move is intended to fix the enormous backlog of people waiting for clearance.

It’s also meant to address weak points in the system, which were exposed when a Navy contractor killed a dozen people at Washington’s Navy Yard in 2013.

The contractor had obtained and kept his security clearance despite concerns about his mental health and an unreviewed arrest.