Longley resigns