In some cities, light pollution is becoming recognized as another type of pollution, as is noise and air pollution.
Check with your city zoning laws. Without escalating conflict, try talking with your neighbors and explain that while they have the right to have light on their property at night, you have the right to not have their light shining into your yard. The sad reality is that most people have never given thought to the idea of light pollution. Light at night has proven so useful and practical that people do not understand there's a big downside. I am reading a book now by a biologist who writes about light pollution's effect on flowers, insects, birds, fish and other animals. It's impacting their mating, pollinating, hunting and migration habits and causing confusion and changes in their behavior.
There are also in some cities (we have one here in San Francisco) neighborhood arbitration boards that help neighbors resolve conflicts without having to resort to legal battles and other escalatory measures. Try showing your neighbors some high quality astrophotographs and help them appreciate what you're trying to do. If they have any curiosity or sensitivity at all, they'll recognize the immense beauty and mystery of deep space objects. You might be able to win them over and help them to understand why light pollution is a problem and that your desire to have a dark imaging environment is not irrational.
I have a neighbor who shines a very bright light into his yard that is unshielded and floods my yard at night sometimes. I've tried talking and emailing him about it but he doesn't care nor does he recognize my right not to have his light in my yard. My next step is to ask him to come to neighborhood arbitration to see if is willing to shield his bulb and make it less bright. It's the only light in my neighborhood that has been a problem for imaging.
There's a lot that can be done to mitigate light pollution but as the world's population continues to explode it's getting more difficult. Directional lighting, lights with motion detectors, shielding, less bright bulbs, turning off lights when not needed–all these fairly easy solutions will not only cut down on light pollution but will save energy as well.
I remember a few months ago driving home from a Bortle 3 site and passing by a large car lot around midnight that had these huge light poles shining dozens of very bright lights on the cars in the lots. I thought what a terrible waste of energy. They could use motion detectors that would make the lights only to go on if someone is in the lot!