While being processed at York County Prison, police said the man allegedly assaulted two deputies before being tased.