Generate a correctly punctuated version of the following text: EU legislation on urban waste water treatment dates back to 1991 but provided long implementation deadlines
EU legislation on urban waste water treatment dates back to 1991, but provided long implementation deadlines.