For nearly 25 years , Roger L. Green has represented a swath of central Brooklyn in the Assembly , but now that he is running for Congress , the race to succeed him has become one of the most contentious in New York City .