1. Given natural numbers $a, b, c$ whose sum is $S$, satisfying $a+b=1014, c-b=497, a>b$. Then the maximum value of $S$ is ( ).
(A) 2014
(B) 2015
(C) 2016
(D) 2017
-1. D.
From the given, we have $a \geqslant b+1$.
Then $1014=a+b \geqslant 2 b+1$
$$
\begin{array}{l}
\Rightarrow b \leqslant 506.5 \Rightarrow b \leqslant 506 . \\
\text { Also } S=(a+b)+(c-b)+b \\
=1014+497+b=1511+b \\
\leqslant 1511+506=2017,
\end{array}
$$

Therefore, the maximum value of $S$ is 2017.