Original: It made landfall at Puerto Cabezas, Nicaragua, during the time it was a tropical storm.
Simplified: It became a tropical storm very shortly before landfall in Puerto Cabezas, Nicaragua.