Who imperialized Panama?

Panama has been imperialized by the Spanish in the 1600s and by the Americans since the 1900s.