The ancient entity was located in modern Ōita Prefecture and northeastern Fukuoka Prefecture .
The ancient entity was in what is modern Ōita Prefecture and northeastern Fukuoka Prefecture .