Wigan manager Roberto Martinez admits that he stayed at the club because of his loyalty to chairman Dave Whelan.