RICHMOND, Va. — Virginia Gov. Bob McDonnell has directed state agencies not to discriminate against gay people, essentially overriding the state attorney general's advice to colleges.

McDonnell's directive Wednesday came amid a public uproar over Attorney General Kenneth Cuccinelli's letter last week telling public colleges they lack the authority to prohibit discrimination based on sexual orientation. Cuccinelli told colleges to rescind or change any anti-discrimination policies that include protection for gay people.

The Republican attorney general's letter was denounced by gay-rights groups and Democrats. In the letter, Cuccinelli said colleges can't include gays in their anti-discrimination policies without General Assembly authorization.