Anatomy

A patient presented with numbness of little and ring finger, atrophy of hypothenar muscles. The nerve damaged will be?