Gunga (county district offices) was a government office attended to the affairs of state by government officials (lower or middle ranked) of the counties (called Gunji) under the kodai Ritsuryosei (ancient East Asian system of centralized governance) in Japan.
郡衙（ぐんが）は、日本の古代律令制度のもとで、郡の官人（郡司）が政務をとった役所である。