I'm not sure "invented" is incompatible with "developed out of the need for it".