A Trooper arrests a driver for multiple outstanding felony warrants.
The driver is secured, and the vehicle is being impounded.
The Trooper begins an inventory search of the vehicle prior to it being towed.
What is the primary legal purpose of this inventory search?