The District of Columbia Council ran afoul of federal law when it changed the city’s charter to give officials more freedom to spend local funds, a federal judge in Washington ruled Monday.

U.S. District Judge Emmet Sullivan said that as a native Washingtonian, he was “deeply moved” by arguments in favor of greater budget autonomy. However, he wrote, “the court must interpret and apply the law as enacted.”