The two major-party candidates for Maryland governor have agreed to their first televised debate, to be held Oct. 7 in Baltimore.

WJZ-TV and the Baltimore Sun announced Wednesday that they will co-host the hour-long encounter between Democrat Anthony G. Brown and Republican Larry Hogan. Both Brown, the state’s lieutenant governor, and Hogan, an Anne Arundel County businessman, have agreed to participate.

The televised debate is the first of several likely to occur before the November election. Another is being planned for the Washington region.

Brown and Hogan are also expected to appear jointly at a number of forums, including one being hosted Aug. 16 by the Maryland Association of Counties. The candidates are not scheduled to appear on stage together at that event in Ocean City.

WJZ-TV, the CBS-owned station in Baltimore, said the Oct. 7 debate will be taped in the morning and will air at 7 p.m. A representative of the Brown campaign said the debate will also be broadcast statewide on Maryland Public Television.