the effort got under way in middlesex county , chosen because of its heavy betting ( it was the state 's most populous county ) and because the state police worked well with reilly , who had been a longtime prosecutor there .