SEOUL, South Korea — North Korea fired dozens of artillery shells into waters near the disputed western sea border with South Korea on Wednesday, the South Korean military said.

Earlier Wednesday, North Korea told South Korea that it would conduct artillery drills this week near their sea border, where the two countries have fought naval skirmishes in recent years, the South said. On Wednesday night, North Korean naval guns and coastline artillery fired 130 shells, but none of them crossed the disputed maritime border, the South Korean military’s Office of Joint Chiefs of Staff said.

The North Korean drill comes at a time when tensions have appeared to rise along the so-called Northern Limit Line, a western maritime border that South Korea has patrolled since the end of the 1950-53 Korean War. The North does not recognize the border and insists upon a demarcation line that lies south of the Northern Limit Line, encroaching deeply into waters controlled by the South.

This month, North Korea threatened to fire upon any South Korean patrol boats crossing the border line it favored. On Tuesday, President Park Geun-hye of South Korea warned that her military would deal “decisively” with such provocations.